Puppet Without Agent

242 views
Skip to first unread message

guilherme...@netbr.com.br

unread,
Aug 15, 2016, 9:41:04 AM8/15/16
to Puppet Users
Hi guys,

I wonder if I can use the Puppet without agent. I only need the Puppet connect on some servers through SSH and run some command lines.

Do you know if Puppet do this?

Thanks a lot.

Silvestri

Lowe Schmidt

unread,
Aug 15, 2016, 9:58:03 AM8/15/16
to puppet...@googlegroups.com
Hey,

no, sorry. Puppet cant connect over ssh and run commands for you. 
You can run the puppet agent without a puppet master, but then you need to transfer the manifest to the machine you want to run on first. 

There are other tools that lets you run commands or scripts over ssh like fabric or ansible. 

--
Lowe Schmidt | +46 723 867 157

--
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 puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/9c2c3a0d-045b-49a3-93bc-d4d13605d68e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Craig Dunn

unread,
Aug 15, 2016, 10:29:09 AM8/15/16
to puppet...@googlegroups.com

I agree with Lowe Schmidt.

Wrong tool for the job.  "connect on some servers through SSH and run some command lines" sounds like command orchestration, not configuration management - Rundeck, ansible...etc as said.



On Mon, Aug 15, 2016 at 3:57 PM, Lowe Schmidt <m...@loweschmidt.se> wrote:
Hey,

no, sorry. Puppet cant connect over ssh and run commands for you. 
You can run the puppet agent without a puppet master, but then you need to transfer the manifest to the machine you want to run on first. 

There are other tools that lets you run commands or scripts over ssh like fabric or ansible. 

--
Lowe Schmidt | +46 723 867 157

On 15 August 2016 at 13:39, <guilherme.silvestri@netbr.com.br> wrote:
Hi guys,

I wonder if I can use the Puppet without agent. I only need the Puppet connect on some servers through SSH and run some command lines.

Do you know if Puppet do this?

Thanks a lot.

Silvestri

--
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 puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/9c2c3a0d-045b-49a3-93bc-d4d13605d68e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 puppet-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Enviatics     |      Automation and Configuration Management
Puppet Labs Service Delivery Partner & Certified Consultant

jcbollinger

unread,
Aug 16, 2016, 9:11:58 AM8/16/16
to Puppet Users


On Monday, August 15, 2016 at 8:41:04 AM UTC-5, guilherme...@netbr.com.br wrote:
Hi guys,

I wonder if I can use the Puppet without agent. I only need the Puppet connect on some servers through SSH and run some command lines.

Do you know if Puppet do this?


Puppet will not connect to another machine on your behalf or run commands on remote machines.

Puppet can be run without using the agent, however.  Puppet must be installed on the machine to be managed, and the needed manifests and data must be accessible on that machine.  You can then use 'puppet apply' to build and apply a catalog locally, using a manifest you designate as the starting manifest.  This does require somehow distributing the needed manifests and data; source-control systems and network filesystems are some of the popular means for handling that end.


John

Reply all
Reply to author
Forward
0 new messages