automating agent setup

asked 2015-06-01 14:53:42 -0600

pup-master gravatar image

has anyone automated setup of puppet agent via either /bin/bash or python?

Preferably invoking python's subprocess module.

My pseudocode plan is

(1) Change hostname
(2) Install yum puppetlabs
(3) Install Puppet
(4) /etc/sysconfig/iptables & "setenforce permissive"
(4) Request SSL cert sign
(5) Pull config
edit retag flag offensive close merge delete