Add initial implmentation of SOCtopus pillar

This commit is contained in:
Wes Lambert
2020-09-30 14:24:15 +00:00
parent 10f4e09b70
commit c62acf5e4e
2 changed files with 8 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ playbook_ext_url = https://{{MANAGER}}/playbook
playbook_key = de6639318502476f2fa5aa06f43f51fb389a3d7f
playbook_verifycert = no
playbook_unit_test_index = playbook-testing
playbook_rulesets = windows
playbook_rulesets = {{ salt['pillar.get']('soctopus:playbook:rulesets')|join(",") }}
[log]
logfile = /var/log/SOCtopus/soctopus.log

View File

@@ -1266,9 +1266,13 @@ manager_global() {
" upload_queue_size: 4"\
" encoding: 'gzip'"\
" interval: 5"\
"backup:"\
" locations:"\
" - /opt/so/saltstack/local" >> "$global_pillar"
"backup:"\
" locations:"\
" - /opt/so/saltstack/local"\
"soctopus:"\
" playbook:"\
" rulesets:"\
" - windows" >> "$global_pillar"
printf '%s\n' '----' >> "$setup_log" 2>&1
}