Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I remotely run agent update

I've installed Puppet Enterprise and have successfully added a couple of Ubuntu servers running the agent and a windows 2012 r2 server with the agent. The Nodes all successfully work to have classes applied using either puppet agent --test from them to pull the state or using the Live Management section on the PE Console.

I am trying to action this from another server (not managed by Puppet) - I've tried using Curl curl -k -X PUT -H "Content-Type: text/pson" -d "{}" https://puppetclient:8139/production/run/no_key * where puppetclient is the name of my Win2012 server

But it fails with curl: (7) couldn't connect to host I can ping it by name (added the ip/name to the host file on this external server)

I've read a bit about mcollective that seems to come with PE - but this doesn't seem to be setup for the console/command line.

I was trying to use mco ping to talk to the agents - but this fails with missing file errors.

Any step by step guides to get this working?

Really - I want to provision a VM and then have another server take the details of the VM - add it to Puppet (to a group) and then have puppet install software associated with that group through Classes.