We are running Opensource Puppet 4.10.10 on a VM. When booting the VM the 
puppetserver, puppetdb, mcollective all come up fine. But a systemctl 
status puppet shows that it could not run, maybe because the pupperserver 
was not up yet. Any way to assure that it starts later? We tried to changed 
/lib/systemd/system puppet.service and puppetserver.service with Before and 
After statements but to no avail. A systemctl restart puppet starts up the 
service correctly.

Thanks for any hints. Here is the output for systemctl status puppet after 
boot:

● puppet.service - Puppet agent
   Loaded: loaded (/lib/systemd/system/puppet.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Tue 2018-02-13 09:46:31 EST; 50s ago
 Main PID: 1342 (puppet)
    Tasks: 2
   Memory: 131.3M
      CPU: 12.333s
   CGroup: /system.slice/puppet.service
           └─1342 /opt/puppetlabs/puppet/bin/ruby 
/opt/puppetlabs/puppet/bin/puppet agent --no-daemonize

Feb 13 09:46:36 puppetmaster puppet-agent[1342]: Starting Puppet client 
version 4.10.10
Feb 13 09:46:36 puppetmaster puppet-agent[1769]: Unable to fetch my node 
definition, but the agent run will continue:
Feb 13 09:46:36 puppetmaster puppet-agent[1769]: Connection refused - 
connect(2) for "10.10.254.1" port 8140
Feb 13 09:46:36 puppetmaster puppet-agent[1769]: 
(/File[/opt/puppetlabs/puppet/cache/facts.d]) Failed to generate additional 
resources using 'eval_generate': Connection refused - connect(2) for 
"10.10.254.1" port 8140
Feb 13 09:46:36 puppetmaster puppet-agent[1769]: 
(/File[/opt/puppetlabs/puppet/cache/facts.d]) Could not evaluate: Could not 
retrieve file metadata for puppet:///pluginfacts: Connection refused - 
connect(2) for "10.10.254.1" port 8140
Feb 13 09:46:37 puppetmaster puppet-agent[1769]: 
(/File[/opt/puppetlabs/puppet/cache/lib]) Failed to generate additional 
resources using 'eval_generate': Connection refused - connect(2) for 
"10.10.254.1" port 8140
Feb 13 09:46:37 puppetmaster puppet-agent[1769]: 
(/File[/opt/puppetlabs/puppet/cache/lib]) Could not evaluate: Could not 
retrieve file metadata for puppet:///plugins: Connection refused - 
connect(2) for "10.10.254.1" port 8140
Feb 13 09:46:45 puppetmaster puppet-agent[1769]: Could not retrieve catalog 
from remote server: Connection refused - connect(2) for "10.10.254.1" port 
8140
Feb 13 09:46:45 puppetmaster puppet-agent[1769]: Applied catalog in 0.05 
seconds
Feb 13 09:46:45 puppetmaster puppet-agent[1769]: Could not send report: 
Connection refused - connect(2) for "10.10.254.1" port 8140


-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ba2d9e6f-5f6f-4dc1-9325-95f1333c457b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to