I am currently using version 0.4.0 of PuppetServer using the official RPM
package on CentOS 7. I am running into an issue where a node's agent runs
error out inconsistently. The node's agent run would sometimes successfully
complete or give different errors upon other runs. Below are examples of
the errors that the agent would report. The errors never show up together
but instead are confined to different invocations of the agent run. It may
be slightly confusing, but the node where agent runs are performed also
happens to be the server which is running PuppetServer as well. I am using
Puppet to manage the PuppetServer.
- one error that would sometimes appear
Notice: Finished catalog run in 8.08 seconds
Error: Could not send report: Error 400 on SERVER: Could not create
resources for managing Puppet's files and directories in sections
[:reporting]: Invalid parameter ensure
Invalid parameter ensure
- another error that would sometimes appear
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Invalid parameter content on File[/etc/nagios/nrpe.cfg] at
/etc/puppet/environments/development/modules_myorg/nrpe/manifests/config.pp:16
on node i-76853297
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
My puppet.conf and environment.conf configuration file looks like
- puppet.conf
[main]
# The Puppet log directory
# The default value is '$vardir/log'.
logdir = /var/log/puppet
# Where Puppet PID files are kept.
# The default value is '$vardir/run'.
rundir = /var/run/puppet
# Where SSL certificates are kept.
# The default value is '$confdir/ssl'.
ssldir = $vardir/ssl
environmentpath = /etc/puppet/environments
certname = puppet-dev.aws.myorg.io
[master]
autosign = true
hiera_config = /etc/puppet/environments/development/hiera.yaml
reports = store, puppetdb
storeconfigs = true
storeconfigs_backend = puppetdb
[agent]
server = puppet-dev.aws.myorg.io
environment = development
certname = i-76853297
report = true
- environment.conf for relevant environment
manifest = manifests/site.pp
modulepath = modules_forge:modules_myorg
environment_timeout = 0
Can anyone shed light on this inconsisteny I am seeing? Thank you for your
time.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/32e6a5f2-2401-4a7e-8dd0-ae4773b0bd3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.