Ask Your Question
0

Remote Puppet script execution

asked 2016-08-24 00:37:52 -0500

ramassrs gravatar image

Is it possible to remotely execute Puppet scripts (could be DSL or a Ruby script)?

Say for example, I am logged in on a System-A. From there, I wish to launch the execution of a Puppet script that will result in installation of JBoss Application Server on target node B.

Note that System-A may not have any Puppet related software. I may as well be launching this execution from a GUI.

Thanks in advance,

Ramas.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-08-24 01:45:22 -0500

rajeevsharma gravatar image

Hi, Technically you want to trigger puppet agent on system-B from puppet agent running on system-A. I am afraid Puppet do not support such execution. But, as per your requirement there should be work around. For example:

  1. If you simply want to execute ruby/shell script on remote machine instead of puppet run this is do-able. The puppet code which is executing on system-A should be able to kick off the ruby code on system-B (may be using ssh)
  2. If you want to install some application on system-A (say application A) and want to use information relevant to application-A on system-B for JBoss installation, you can look into export and collect resources in Puppet.

Hope this helps.

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

1 follower

Stats

Asked: 2016-08-24 00:37:52 -0500

Seen: 58 times

Last updated: Aug 24 '16