infrastruktur:salt:bootstrap

Dies ist eine alte Version des Dokuments!


Auf der Maschine wo der Salt Minion läuft

wget -O bootstrap-salt.sh https://bootstrap.saltstack.com
sudo sh bootstrap-salt.sh -A "salt.ffm.freifunk.net"
echo "ipv6: True" > /etc/salt/minion.d/98-ipv6.conf
systemctl  restart salt-minion
salt-call --local key.finger

Im Git die pillar config erweitern

host/tld/domain/name/service/init.sls
roles:
  gateway
top.sls
[...]
base:
[...]
  'service.host.domain.tld':
    - host.tld.domain.host.service

Und nun auf den Salt Master

salt-key -F
salt-key -a 'hostname.ffffm.net'
salt 'hostname.ffffm.net' state.apply
  • infrastruktur/salt/bootstrap.1498502833.txt.gz
  • Zuletzt geändert: 26.06.2017 18:47
  • von christf