Skip to content

This puppet module’s defines do not appear to honor the ‘$attribute’ parameter in exec {} calls. #5

Description

@campfield

The module’s defines chattr::attribute_add and chattr::attribute_remove accept the parameter ‘$attribute’ meant to specify what file attributes should be added or removed.

However, within the defines the execs hard-code the attribute to be controlled to ‘i’, Immutable. For example in chattr::attribute_add the exec’s identifier is "chattr +i ${name}" when it should be similar to "chattr +${attribute} ${name}".

I’ve tested this under Puppet server 2.7.2 on CentOS 7.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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