Thanks for the replies.  I tried Rob's fix first since it just meant
removing one line from what I had.  It worked like a charm!

Here is the final config to add that line to /etc/inittab:

               augeas { "inittab" :
                       context => "/files/etc/inittab",
                       changes => [
                               "set ~/runlevels S",
                               "set ~/action wait",
                               "set ~/process /sbin/sulogin",
                       ]
               }



On Fri, Sep 3, 2010 at 7:44 AM, Rob McBroom <[email protected]>wrote:

> On Sep 2, 2010, at 5:47 PM, Kit Stube wrote:
>
>                         changes => [
>                                 "set ~ /~",
>                                 "set ~/runlevels S",
>                                 "set ~/action wait",
>                                 "set ~/process /sbin/sulogin",
>                         ]
>
>
> Try removing the first item in your changes. In many cases, Augeas will
> create a path for you if you set something that doesn't exist. I have a
> resource that adds to inittab and it's almost identical to yours, but it
> only has the last 3 changes. If it still doesn't work, it may be that
> something doesn't like the ~ character.
>
> --
> Rob McBroom
> <http://www.skurfer.com/>
>
> Before you give the government new power to go after bad guys, remember
> this: The power will be permanent. The definition of “bad guys ” will not.
>
>  --
> 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]<puppet-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>

-- 
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.

Reply via email to