I've found a similar thread here, but it doesn't do quite what I need.
https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/VMloh1KrSew

I have multiple lines of the form below in hosts.allow:

sshd,sshd2: 1.1.1.1
sshd,sshd2: 2.2.2.2
etc.

I'm struggling with the syntax to add yet another "sshd,sshd2: client" line 
to hosts.allow.

augtool is treating the lines as follows
augtool> ls /files/etc/hosts.allow/*[last()]
process[1] = sshd
process[2] = sshd2
client = 3.3.3.3

I need to add another line when the processes already exist, but the client 
is new.

Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/aWaiSr2YhV0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to