Hey there,

I'm playing around with the ssh::auth module and right now I want to
create the authorized_keys file for root. But it doesn't seem to work
as I always get this error:

puppetd[2579]: Could not apply complete catalog:
Puppet::Util::FileType::FileTypeFlat could not write /home/root/.ssh/
authorized_keys: No such file or directory - /home/root/.ssh/
authorized_keys

Obviously puppet tries to write to the wrong directory. For other
users who really live in /home/$user the module works.
If I create a link /root/.ssh -> /home/root/.ssh puppet creates the
authorized_keys file.

My manifests look like this:
#site.pp
include ssh::auth
ssh::auth::key { "root":
                        ensure  => "present",
                        keytype => "dsa",
                        home    => "/root",
                }

#nodes.pp
node sshserver {
                ssh::auth::server { "root":
                                        home => "/root", }
                ssh::auth::client { "root":
                                        home => "/root", }

}

As you can see I added always the home-parameter but still puppet
tries to write to /home/root.
I'm using puppet 0.25.4.
So where did I do the mistake?

christian

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