On Thu, 8 Dec 2011, Chris wrote:
If I use an empty string it works:
# augtool
augtool> set /files/etc/sudoers/Defaults[type=':nrpe']/type :nrpe
augtool> set /files/etc/sudoers/Defaults[type=':nrpe']/requiretty/negate ""
augtool> save
Saved 1 file(s)
Hi Chris,
The "requiretty" tree node can also be created with an explicitly null
value:
augtool> clear /files/etc/sudoers/Defaults[type=':nrpe']/requiretty/negate
At the moment Augeas doesn't treat an empty string and a null value any
differently, though it's probably a good idea if you try to keep them
separate.
This "clear" command should be able to be used directly in your Puppet
manifest.
- Michael
_______________________________________________
augeas-devel mailing list
augeas-devel@redhat.com
https://www.redhat.com/mailman/listinfo/augeas-devel