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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1491406 Title: augeas-lenses-1.2.0 - NagiosCfg lens broken for /etc/nagios.cfg due to spaces To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/augeas/+bug/1491406/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs