Skip to content

f5_irule adds an additional newline at the end which leads to continuous "changes"Β #68

@s-seitz

Description

@s-seitz

The f5_irule class adds an additional \n when comparing existing rules, so puppet "thinks", there's a change neccessary which indeed isn't.

code:
f5_irule { "/Common/${irule_name}": ensure => 'present', name => "/Common/${irule_name}", definition => file("profile/f5/irules/${irule_file}"), verify_signature => false,

pupet device shows:

Notice: /Stage[main]/Profile::F5::Server/F5_irule[/Common/AccessVhostRequireNetwork]/definition: current_value "[....] return\n }\n}", should be "[....]return\n }\n}\n" (noop) (corrective)

The irule File doesn't contain a trailing newline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions