I'm trying to automatically create users as a requirement for ssh keys
to work. Here is my issue. I am getting this error from the agent. The
SSH part works fine, but it will not create the user due to a
dependency issue. I do not know how to debug this.

err: Could not run Puppet configuration client: Could not find
dependency Generic::Mkuser[hadoop] for Ssh::Authorized_keys[hadoop]
at /etc/puppet/manifests/templates.pp:5

Here are my files

-----
manifest/nodes.pp
-----
node "ns1.colo.networkedinsights.com" inherits "default" {
     include ntp::server
     ssh::authorized_keys { "hadoop":
        users   => [ "hadoop" ],
        require => Generic::Mkuser[hadoop]
     }
}

-----
modules/generic/manifest/init.pp
-----
class generic {
    include ssh


    define mkuser ($uid, $gid = undef, $group = undef, $shell = "/bin/
bash", $home = undef, $ensure = "present", $manageho
me = true, $dotssh = "ensure", $comment = "created via puppet",
$groups = undef, $password = "!!", $symlink = undef, $mode
 = undef) {
...

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