On Sep 6, 2010, at 3:41 AM, hai wu wrote:

> Hi, I need to add one line to /etc/securetty, say it needs to be ttyS1. Do 
> not add it if ttyS1 already exists in file /etc/securetty.
> 
> How to achieve this using puppet module in puppet 2.5? This file is different 
> than the other examples using augeas, this one only has value per line, not 
> name-val pair.

Which examples are you looking at? There's a lengthy discussion of this very 
scenario in the Wiki.

http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas#Paths+for+Numbered+Items

-- 
Rob McBroom
<http://www.skurfer.com/>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to