OK: ran the master in verbose debug mode and the behavior changed. (!) Seems the real problem was some stuff in the earlier stages (just updated my puppet master the other day) was and the messages were masking the problem.
I had some statements in my templates.pp file such as class { trusted-keys::root : stage => 'preamble' } changed them to look like: class { 'trusted-keys::root' : stage => 'preamble' } and things started to work correctly (with minor changes.) Thanks all. puppet --debug -v --parseonly init.pp > debug: importing > '/home/peter/src2/puppet-cfg/modules/adminscripts/manifests/getvpsnodes.pp' > debug: importing > '/home/peter/src2/puppet-cfg/modules/adminscripts/manifests/init.pp' > > > > On Fri, Nov 25, 2011 at 3:45 PM, Denmat <tu2bg...@gmail.com> wrote: > >> Hi, >> >> The following will fail wont it? The source path is wrong. >> >> source => "puppet://puppet/syscripts/getVPSNodes.pl", >> >> I can't check the class myself but do the .pp files parse correctly? Use >> the --parseonly or the validate command to check. It maybe failing to parse >> one of the files. >> >> Cheers, >> Den >> On 26/11/2011, at 6:59, Peter Berghold <salty.cowd...@gmail.com> wrote: >> >> >> >> 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. >> >> -- >> 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. >> > > > > -- > Peter L. Berghold > Owner, Shark River Technical Solutions LLC > -- 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.