Puppet

  1. Install bolt: http://pup.pt/installbolt

    1. 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

    2. bolt script run ./<name of the script> -n <list of nodes>

    3. $PT_name, $PT_action

    4. modulename::taskfilename

    5. bolt task run service::linux -n <nodes> -u root name='<postegress or any other name>' action='<restart, stop, etc>'

Last updated