Ask Your Question

Simple examples to use puppet with ssh

asked 2013-01-25 01:30:58 -0500

mpc8250 gravatar image


We are new to puppet. We have a set of new nodes and an existing master. No puppet has been installed on them.

Are there simple concrete examples on how to use puppet, from puppet installs to implementing the solution to auto install ssh and create public/private keys on all nodes among the nodes and the master at one go ?


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-01-28 12:44:59 -0500

llowder gravatar image

The learning puppet series is an excellent resource, but it doesn't necessarily cover an "end to end" or all in one solution.

Puppet is really good at managing state, but you can find yourself in a sort of "chicken and egg" problem.

Generally, people will use something like Cobbler, Razor, the Foreman or Kickstart to do the initial provisioning of a node before handing it off to puppet for configuration.

Each of these different tools is documented, and has their strengths and weaknesses. As with many things in life, there is no "One True Way".

I am not aware ... (more)

edit flag offensive delete link more

answered 2013-01-28 11:38:46 -0500

Justin Stoller gravatar image

Yes, the Puppet Documentation is pretty good.

The "Learning Puppet Series" walks through the basics of Puppet and nearly each page works with a common basic resource to manage. Going through the Learning Puppet series you'll install Puppet on a VM and write manifests/modules for SSHD, NTP & MOTD at least.

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: 2013-01-25 01:30:58 -0500

Seen: 229 times

Last updated: Jan 28 '13