Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 satır
559B

  1. #!/bin/sh
  2. sudo add-apt-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. # Accept all keys#
  7. sleep 5 #give the minion a few seconds to register
  8. sudo salt-key -y -A
  9. # setup top files to test the formula
  10. sudo mkdir -p /srv/pillar
  11. sudo ln -s /srv/salt/pillar.example /srv/pillar/salt.sls
  12. sudo ln -s /srv/salt/dev/pillar_top.sls /srv/pillar/top.sls
  13. # this file will be copied to make a running config. it should not be checked in.
  14. sudo cp /srv/salt/dev/state_top.sls /srv/salt/top.sls