I have this module with the following structure. adminscripts ├── facter ├── files │ └── getVPSNodes.pl ├── lib │ └── puppet │ ├── parser │ ├── provider │ └── type ├── manifests │ ├── classes │ ├── defines │ ├── getvpsnodes.pp │ └── init.pp └── templates
The file getvpsnodes.pp looks like: class adminscripts::getvpsnodes{ @file { get-vps-nodes-script: path => "/usr/local/sbin/getVPSNodes.pl", source => "puppet://puppet/syscripts/getVPSNodes.pl", owner => root, group => root, mode => 0700 , require => [File[usr-local-sbin-dir]] } realize File[get-vps-nodes-script] @cron { run-get-vps-nodes-daily: hour => 1, command => "/usr/local/sbin/getVPSNodes.pl 2>&1 > /dev/null", user => "puppet", require => [File[get-vps-nodes-script]] } realize Cron[run-get-vps-nodes-daily] } and in one of my node definitions I have this: node "slccrepos0.slc.sharkrivertech.com" { include stddirs include adminscripts::getvpsnodes } and I'm seeing this: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class adminscripts::getvpsnodes for slccrepos0.slc.sharkrivertech.com at /etc/puppet/manifests/nodes/slccrepos0.pp:4 on node slccrepos0.slc.sharkrivertech.com warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run I know it has to be me... what am I missing here? -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.