I am trying to install apache in agent using puppetmaster , it got connected but failed to fetch facts and catalog.(Google cloud vms)

asked 2017-07-04 01:50:17 -0500

Ram gravatar image

updated 2017-07-05 11:00:10 -0500

DarylW gravatar image

I am using centos 6 VMs(master and agent) in google cloud platform I am able create files using the site.pp but i am not able to get the software installed in node.

when I ran #puppet agent -t

*Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts

Error loading fact /var/lib/puppet/lib/facter/staging_windir.rb: /var/lib/puppet/lib/facter/staging_windir.rb:2: syntax error, unexpected ':', expecting kEND
  confine osfamily: :windows*
                   ^
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class java for agent-1.c.connection-169807.internal on node agent-1.c.connection-169807.internal
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
edit retag flag offensive close merge delete