Solaris 10 update 5 on x86
Ruby 1.8.7 p72, Facter 1.5.2 & Puppet 0.24.6
Here's the script that is run through cron:
#!/bin/sh
#
PATH=/usr/bin:/usr/sbin:/sbin:/usr/sfw/bin:/opt/sfw/bin:/usr/ops/bin
export PATH
CONF=/etc/puppet/puppet.conf
PUPPETD=/usr/ops/bin/puppetd
LAST=/var/puppet/log/last
LOG=/var/puppet/log/cron.`date '+%Y%m%d%H%M'`
if [ ! -f $CONF ]; then
echo "Error: $CONF is missing"
exit 1
fi
if [ ! -f $PUPPETD ]; then
echo "Error: $PUPPETD is missing"
exit 1
fi
$PUPPETD --onetime --verbose --no-daemonize --trace --debug > $LOG
rm -f $LAST
ln -s $LOG $LAST
And here is the script output:
info: Loading fact zonename
info: Loading fact zpool
info: Loading fact location
debug: Creating default schedules
debug: Failed to load library 'ldap' for feature 'ldap'
debug: Failed to load library 'shadow' for feature 'libshadow'
debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/
puppet/log]: Autorequiring File[/var/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/
puppet/run]: Autorequiring File[/var/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/etc/
puppet/ssl/certs/xxx.sun.com.pem]: Autorequiring File[/etc/puppet/ssl/
certs]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/etc/
puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/etc/
puppet/ssl]: Autorequiring File[/etc/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/etc/
puppet/ssl/csr_dns-prod1.java.sun.com.pem]: Autorequiring File[/etc/
puppet/ssl]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/etc/
puppet/ssl/private_keys/xxx.sun.com.pem]: Autorequiring File[/etc/
puppet/ssl/private_keys]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetd]/File[/var/
puppet/state/state.yaml]: Autorequiring File[/var/puppet/state]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/etc/
puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/certs]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/
puppet/facts]: Autorequiring File[/var/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/
puppet/lib]: Autorequiring File[/var/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/etc/
puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/etc/
puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetd]/File[/var/
puppet/state/classes.txt]: Autorequiring File[/var/puppet/state]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[puppetd]/File[/etc/
puppet/puppet.conf]: Autorequiring File[/etc/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[main]/File[/var/
puppet/state]: Autorequiring File[/var/puppet]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/etc/
puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /Settings[/etc/puppet/puppet.conf]/Settings[ssl]/File[/etc/
puppet/ssl/public_keys/xxx.sun.com.pem]: Autorequiring File[/etc/
puppet/ssl/public_keys]
debug: Finishing transaction 69300300 with 0 changes
debug: Loaded state in 0.00 seconds
debug: Puppet::Network::Client::File: defining fileserver.describe
debug: Puppet::Network::Client::File: defining fileserver.list
debug: Puppet::Network::Client::File: defining fileserver.retrieve
info: Retrieving facts
debug: Calling fileserver.list
debug: Calling fileserver.describe
debug: Calling fileserver.list
debug: Calling fileserver.describe
debug: Calling fileserver.list
debug: Calling fileserver.describe
debug: Calling fileserver.list
debug: Calling fileserver.describe
debug: Finishing transaction 70297360 with 0 changes
info: Loading fact zonename
info: Loading fact zpool
info: Loading fact location
debug: Retrieved facts in 1.76 seconds
debug: Retrieving catalog
debug: Calling puppetmaster.getconfig
debug: Retrieved catalog in 1.71 seconds
debug: false value when expecting true
debug: file /usr/bin/dscl does not exist
debug: file /usr/sbin/pw does not exist
debug: file nireport does not exist
debug: file groupmod does not exist
err: Could not create ipfilter: Could not find a default provider for
group
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:1737:in
`defaultprovider'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:1880:in `default'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:651:in `setdefaults'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:140:in `eachattr'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:135:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:135:in `eachattr'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:641:in `setdefaults'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:2342:in `initialize'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:1131:in `new'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:1131:in `create'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:90:in
`to_type'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:197:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:194:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:203:in `call'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:203:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:194:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:203:in `call'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:203:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:194:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:203:in `call'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:203:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:194:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:209:in `call'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:209:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:172:in
`getconfig'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:245:in
`run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:445:in `thinmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:444:in `thinmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:244:in
`run'
/usr/ops/lib/ruby/1.8/sync.rb:229:in `synchronize'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:237:in
`run'
/usr/ops/bin/puppetd:417
debug: file crontab does not exist
err: Could not create puppet: Could not find a default provider for
cron
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:1737:in
`defaultprovider'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:1880:in `default'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:651:in `setdefaults'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:140:in `eachattr'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:135:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:135:in `eachattr'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:641:in `setdefaults'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:2342:in `initialize'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:1131:in `new'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/type.rb:1131:in `create'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:90:in
`to_type'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:197:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:194:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:203:in `call'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:203:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:194:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:203:in `call'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:203:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:125:in `each'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:194:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:209:in `call'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/transportable.rb:209:in
`to_catalog'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:513:in
`use_cached_config'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:177:in
`getconfig'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:245:in
`run'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:445:in `thinmark'
/usr/ops/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/util.rb:444:in `thinmark'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:244:in
`run'
/usr/ops/lib/ruby/1.8/sync.rb:229:in `synchronize'
/usr/ops/lib/ruby/site_ruby/1.8/puppet/network/client/master.rb:237:in
`run'
/usr/ops/bin/puppetd:417
warning: Could not load cached catalog: Could not find a default
provider for cron
warning: Configuration could not be instantiated: Could not find a
default provider for group
cheers,
/Martin