On Sep 8, 2010, at 10:39 AM, hai wu wrote:
> This one is different from examples on that page, in that file /etc/securetty
> is not name value pair, it just has values in it
I don't know what you mean. Most of the discussion on that page (and certainly
the stuff in the "numbered items" section I referred to) deals with numbered
items and not name/value pairs. Having said that, there appears to be a 4th
category of numbered items that isn't documented there that looks like this:
1 = value
I would tell you to just set it with
set /files/etc/securetty/*[. = 'ttyS1'] ttyS1
but that doesn't appear to work for some reason. You may be stuck using last()
(or ins) and onlyif.
--
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 [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.