this is my init.pp file. node "ct-eng-pats02-devint" inherits default { include patshosts include users include patslocalhost include patsj2ee include tomcat-prod include ntp include webmanager include webapps include setjava include physjava include weblib include physbasecat include patscommsvcpts include patslinks include patskey include webapps include sharedfiles include patscache include setclassfile include sshkey }
On Thursday, September 13, 2012 5:23:50 PM UTC-7, JGonza1 wrote: > This is how my init.pp files looks below and I get this error err: Could > not retrieve catalog from remote server: Error 400 on SERVER: Could not > find class sshkey for ct-eng-pats02-devint.caretools.ent at > /etc/puppet/manifests/nodes/pats02.pp:22 on node > ct-eng-pats02-devint.caretools.ent > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > class sshkey { > # file { "/root/.ssh": > # ensure => "directory", > # owner => "root", > # group => "root", > # mode => 600, > # } > exec {'mkdir -p /root/.ssh': > unless => 'test -d /root/.ssh', > } > file { > "/root/.ssh/authorized_keys": > ensure => file, > source => "puppet:///sshkey/authorized_keys", > owner => "root", > group => "root", > mode => 600; > } > } > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/xcaKUI7GRRAJ. 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.