Puppet
Install bolt: http://pup.pt/installbolt
bolt command run 'service postgresql status<or any other command you want to run on the machine(s)>' -n <list of machine(s) with comma separated> -u root
bolt script run ./<name of the script> -n <list of nodes>
$PT_name, $PT_action
modulename::taskfilename
bolt task run service::linux -n <nodes> -u root name='<postegress or any other name>' action='<restart, stop, etc>'
pupper development kit : https://puppet.com/docs/pdk/1.x/pdk.html
Last updated