Hi Peter, Is commenting and uncommenting any line using Augeas is possible? if so, how?
On Friday, 7 April 2017 10:27:35 UTC+5:30, Shrawan Bhagwat wrote: > > Thanks Peter. It worked for me. > > On Thursday, 30 March 2017 17:27:30 UTC+5:30, Peter Faller wrote: >> >> Is there any reason you're not using the built-in 'host' type? For >> example, this adds an entry to /etc/hosts: >> >> host {'north.xyz.com': >> ip => '192.168.100.2', >> host_aliases => [ >> 'north', 'main-switch' >> ], >> } >> >> >> On Thursday, 30 March 2017 09:55:33 UTC+2, Shrawan Bhagwat wrote: >>> >>> >>> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/7be6d56b-c39c-4c3e-acc3-1851fcd4ee57%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.