Comment 4 for bug 1491406

Revision history for this message
Dominic Cleal (domcleal) wrote :

Ryan, changing an existing value will preserve the whitespace (something Augeas tries hard to do), so you'll probably need to add a new setting to observe the behaviour.

You could delete the existing cfg_file entry and create a new one, e.g.

augtool> rm /files/etc/nagios3/nagios.cfg/cfg_file
augtool> set /files/etc/nagios3/nagios.cfg/cfg_file /etc/nagios3/commands.cfg.local

or if Nagios supports any setting name then you could define something new:

augtool> set /files/etc/nagios3/nagios.cfg/example test