[augeas-devel] augeas for hosts.allow

mohammad kashif kashif.alig at gmail.com
Thu May 30 09:37:15 UTC 2013


Hi

I want to add a new process in hosts.allow file through augeas. I can do
like this

set /files/etc/hosts.allow/2/process[last()+1] nrpe

but here I have to explicitly mention line number (2 )

so for next process I have to do

set /files/etc/hosts.allow/3/process[last()+1] xyz

Is there any way so I don't have to explicitly define this number. I want
to use through puppet define.


Thanks
Kashif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20130530/15a17726/attachment.htm>


More information about the augeas-devel mailing list