Saltstack Official Salt Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

15 lines
559B

  1. #!/bin/sh
  2. sudo apt-add-repository ppa:saltstack/salt -y
  3. sudo apt-get update -y
  4. sudo apt-get install salt-master -y
  5. sudo apt-get install salt-minion -y
  6. # setup top files to test the formula
  7. sudo mkdir -p /srv/pillar
  8. sudo ln -s /srv/salt/pillar.example /srv/pillar/salt.sls
  9. sudo ln -s /srv/salt/dev/pillar_top.sls /srv/pillar/top.sls
  10. # this file will be copied to make a running config. it should not be checked in.
  11. sudo cp /srv/salt/dev/state_top.sls /srv/salt/top.sls
  12. # Accept all keys#
  13. sleep 15 #give the minion a few seconds to register
  14. sudo salt-key -y -A