Skip to content

tcpcloud/salt-bootstrap-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published