OK... I have relaid out my puppet dir as recommended in best
practices:
[jleggett@binford puppet]$ find . -print | grep -v .svn
.
./plugins
./plugins/lines.pp
./files
./files/module
./files/module/SSH
./files/module/SSH/ssh_config
./files/module/SSH/sshd_config
./files/module/INFO
./files/module/INFO/motd
./files/module/INFO/issue
./files/module/NIS
./files/module/NIS/nsswitch.conf
./fileserver.conf
./manifests
./manifests/nodes.pp
./manifests/site.pp
./manifests/templates.pp
./puppet.conf
./modules
./modules/ssh
./modules/ssh/manifests
./modules/ssh/manifests/ssh.pp
./modules/ssh/manifests/init.pp
./modules/baseline
./modules/baseline/plugins
./modules/baseline/plugins/puppet
./modules/baseline/plugins/puppet/type
./modules/baseline/plugins/puppet/type/lines.pp
./modules/baseline/manifests
./modules/baseline/manifests/baseline.pp
./modules/baseline/manifests/init.pp
./modules/openvz
./modules/openvz/manifests
./modules/openvz/manifests/openvz.pp
./modules/custom
./modules/custom/plugins
./modules/custom/plugins/facter
./modules/custom/plugins/puppet
./modules/custom/plugins/puppet/type
./modules/custom/plugins/puppet/type/lines.pp
[jleggett@binford puppet]$
here''s my site.pp
[jleggett@binford manifests]$ cat site.pp
import "templates"
import "nodes"
import "baseline"
import "ssh"
filebucket { main: server => puppet }
File { backup => main }
Exec { path => "/usr/bin:/usr/sbin:/bin:/sbin" }
Package { provider => yum }
My nodes.pp
[jleggett@binford manifests]$ cat nodes.pp
node ''lxp6d4m3.etrade.com'' inherits default {
include ssh
}
my templates.pp
[jleggett@binford manifests]$ cat templates.pp
class baseclass {
include baseline
}
node default {
include baseclass
}
[jleggett@binford manifests]$
I have commented out the lines.pp issue for the timebeing from
baseline.pp to get by that, but I still get the error:
Jun 4 14:21:53 lxp6d4m3 puppetmasterd[11509]: Could not find class
ssh for lxp6d4m3.etrade.com
Jun 4 14:21:53 lxp6d4m3 puppetmasterd[11509]: Could not find class
ssh at /opt/etrade/p6/puppet/manifests/nodes.pp:4 on node
lxp6d4m3.etrade.com
Jun 4 14:21:53 lxp6d4m3 puppetd[11767]: Could not retrieve catalog:
Could not find class ssh at /opt/etrade/p6/puppet/manifests/nodes.pp:4
on node lxp6d4m3.etrade.com
What am I missing?
--~--~---------~--~----~------------~-------~--~----~
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-unsubscribe@googlegroups.com
For more options, visit this group at
groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---