On Sat, Jul 9, 2011 at 5:04 AM, <maillis...@gmail.com> wrote:

> 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.
>
>
What OS and version?
What Puppet version?



-- 
Nigel Kersten
Product Manager, Puppet Labs
Twitter: @nigelkersten

*Join us for **PuppetConf *<http://www.bit.ly/puppetconfsig>
September 22nd and 23rd in Portland, Oregon, USA.
*
*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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