Ask Your Question

can i use puppet on local domain to command puppet on remote domain

asked 2016-10-20 12:39:04 -0600

dmhbeast88 gravatar image

Sorry if this a dumb question. My workplace is trying to find something that will allow to manage and run scripts against all of our machines. We have out local system, plus a remote system, with a different domain. We currently access that 2nd domain by vpn into it and RDP. Our biggest thing we want to do is to be able to fire off a script from our local domain, that will cause a script to run on the remote domain. Is this something that puppet will be able to help with? My thinking would be from the master puppet account, we can reach out to the child accounts and command them, even on different networks to run a specified script or what ever it may be.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-10-21 13:42:05 -0600

lavaman gravatar image

Puppet doesn't work that way. It is an agent/master setup where the agent contacts the master and asks for a config for the agent to apply. MCollective is capable of doing this, but is probably much heavier than you would want (requires activemq and puppetdb to function), and probably would not work correctly given your network setup.

edit flag offensive delete link more

answered 2016-10-24 11:00:25 -0600

DarylW gravatar image

It doesn't help you remotely run a script, but if you have common configuration using an r10k control repo, you would deploy your puppet code to a single location and you could have masters in both locations able to pull the configuration in and apply it. Without intervention, this could allow the puppet code to be applied on the next catalog run (default is every 30 min).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-10-20 12:39:04 -0600

Seen: 37 times

Last updated: Oct 24 '16