Advertisement
Guest User

Untitled

a guest
Apr 25th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #! /bin/bash
  2. # l-a-m-d-t
  3. # Use: ./salt-minion-installer.sh salt.master.address
  4. # Example: ./salt-minion-installer.sh 10.2.2.2
  5.  
  6. # remove older salt
  7. apt-get -y remove --purge ^salt-*
  8.  
  9. rm -rf /etc/salt /var/cache/salt
  10.  
  11. apt-get -y install software-properties-common python-software-properties
  12.  
  13. add-apt-repository -y ppa:saltstack/salt
  14. apt-get update
  15.  
  16. echo "123.31.11.210 salt" >> /etc/hosts
  17.  
  18. apt-get -y install salt-minion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement