===
Hack to get around Puppet's inability to manage files with the immutable attribute set as described in issue PUP-1199
===
This module is built for use with Puppet v3 with Ruby versions 1.8.7, 1.9.3, and 2.0.0 on all Linux systems.
===
If /etc/no_change
is immutable and meant to stay that way, this would remove the immutable attribute allowing you to modify it with a file resource in another class and then add the immutable attribute back.
chattr::attribute_adds: '/etc/no_change': attribute: 'i' chattr::attribute_removes: '/etc/no_change': attribute: 'i'
===
exec to remove attributes -> all other file
, host
, and resources
types -> exec to add attributes
===
Hash of chattr::attribute_add defines.
- Default: undef
Boolean to control merges of all found instances of chattr::attribute_adds Hiera. This is useful for specifying resources at different levels of the hierarchy and having them all included in the catalog.
- Default: true
Hash of chattr::attribute_remove defines.
- Default: undef
Boolean to control merges of all found instances of chattr::attribute_removes Hiera. This is useful for specifying resources at different levels of the hierarchy and having them all included in the catalog.
- Default: true
chattr attribute to add. See CHATTR(1). Defaults to 'i' for immutable.
- Default: 'i'
chattr attribute to remove. See CHATTR(1). Defaults to 'i' for immutable.
- Default: 'i'