Example Scripts for Puppet, Gitlab, and R10K
These scripts are examples for an integrated Puppet, Gitlab, and R10K linux managment system. This system is discussed in this presentation from the UW ITpro Conference 2017: https://itproconf.wisc.edu/wp-content/uploads/sites/20/2017/06/toolkit_linux_management_r10k.pdf
.gitlab-ci.yml for control repostiory
stages:
- test
- r10k
puppet_test:
stage: test
script: puppet_test
allow_failure: false
hiera_test:
stage: test
script: hiera_test
allow_failure: false
r10kdeploy:
stage: r10k
script: r10k_control_deploy
allow_failure: false
.gitlab-ci.yml for other module repositories
- test
- r10k
puppet_test:
stage: test
script: puppet_test
allow_failure: false
hiera_test:
stage: test
script: hiera_test
allow_failure: false
r10kdeploy:
stage: r10k
script: r10k_control_deploy
allow_failure: false