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.
|
- #!/bin/sh
- sudo apt-add-repository ppa:saltstack/salt -y
- sudo apt-get update -y
- sudo apt-get install salt-master -y
- sudo apt-get install salt-minion -y
- # setup top files to test the formula
- sudo mkdir -p /srv/pillar
- sudo ln -s /srv/salt/pillar.example /srv/pillar/salt.sls
- sudo ln -s /srv/salt/dev/pillar_top.sls /srv/pillar/top.sls
- # this file will be copied to make a running config. it should not be checked in.
- sudo cp /srv/salt/dev/state_top.sls /srv/salt/top.sls
- # Accept all keys#
- sleep 15 #give the minion a few seconds to register
- sudo salt-key -y -A
|