Saltstack Official Salt Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

18 rindas
609B

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