Could really use some help with this. I have a simple class that
contains only this:

user { "myuser":
         ensure   => "present",
         home     => "/home/myuser",
         shell    => "/bin/bash",
         uid      => "1001",
         gid      => "1001",
         comment  => "My user",
}

It fails with the following message:

Could not set comment on user[myuser]: Execution of '/usr/sbin/usermod
-c My user' returned 6: usermod: myuser not found in /etc/passwd

Running the client in debug, I don't see anything to suggest that
there's an attempt to add the user.  That part isn't failing, it
simply isn't happening. What could I be doing wrong? Any help is
appreciated.

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