I am using puppet to manage ssh keys, it works fine all but one system, 
which its a true RHEL6 (vs CentOS and Amazon distos) (Puppet 3.1.1).  Not 
sure even sure where to look to troubleshoot the issue.  I have disabled 
selinux for testing too.  Any suggestions would be greatly appreciated.


Here is the manifest snipplet

Using viurtal user and heria

$user = hiera($title,nil,"${environment}/user")

 ssh_authorized_key { $title:
    ensure  =>      'present',
    type    =>      'ssh-rsa',
    key     =>      $user['sshkey'],
    user    =>      $title,
    require =>      User[$title],
    name    =>      "${title}@myvbo.net",
  }


And the errors from the puppet run.

Puppet (err): Puppet::Util::FileType::FileTypeFlat could not write 
/home/jsmith/.ssh/authorized_keys: cannot generate tempfile 
`/puppet20130331-3128-n19xxm-9'
Tue Apr 02 12:42:33 +0000 2013 
/Stage[main]/User::Users/User::Virtual[jsmith]/Ssh_authorized_key[elondon] 
(err): Could not evaluate: Puppet::Util::FileType::FileTypeFlat could not 
write /home/jsmith/.ssh/authorized_keys: cannot generate tempfile 
`/puppet20130402-3219-n91x6m-9'


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to