No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
env
test
.gitignore
.kitchen.yml
README.md
TODO.md
bootstrap.sh

README.md

saltmaster-bootstrap-test

Install:

curl -skL "https://raw.githubusercontent.com/tcpcloud/salt-bootstrap-test/master/bootstrap.sh" > bootstrap.sh
chmod +x ./bootstrap.sh

Bootstrap master:

  #Configure/override env. variables, only if change against default values is required
  
  cat <<-EOF > salt.env 
    export FORMULA_SOURCE=pkg
    export RECLASS_ADDRESS=https://github.com/FIXME
    export SALT_MASTER=172.16.178.10
    export DOMAIN=mosqa.cloud
    export APT_REPOSITORY_TAGS="main extra tcp-salt"
  EOF
source *.env
SALT_MASTER=172.16.178.10 MINION_ID=cfg01.mosqa.cloud ./bootstrap.sh master

Bootstrap minion:

SALT_MASTER=172.16.178.10 MINION_ID=cfg01.mosqa.cloud ./bootstrap.sh minion

Test:

 kitchen verify