@@ -369,6 +369,13 @@ salt: | |||
- 'deploy': | |||
- /srv/salt/reactors/deploy.sls | |||
# https://docs.saltstack.com/en/latest/ref/states/requisites.html#retrying-states | |||
retry_options: | |||
attempts: 2 | |||
until: true | |||
interval: 10 | |||
splay: 10 | |||
salt_cloud_certs: | |||
aws: | |||
pem: | |
@@ -85,6 +85,13 @@ salt: | |||
profiles: salt://salt/files/cloud.profiles.d | |||
maps: salt://salt/files/cloud.maps.d | |||
# https://docs.saltstack.com/en/latest/ref/states/requisites.html#retrying-states | |||
retry_options: | |||
attempts: 2 | |||
until: true | |||
interval: 10 | |||
splay: 10 | |||
salt_formulas: | |||
list: {} # via pillar data | |||
checkout_orig_branch: false |
@@ -15,11 +15,7 @@ salt-master-macos: | |||
- name: /Library/LaunchDaemons/com.saltstack.salt.master.plist | |||
- source: https://raw.githubusercontent.com/saltstack/salt/master/pkg/osx/scripts/com.saltstack.salt.master.plist | |||
- source_hash: {{ salt_settings.salt_master_macos_plist_hash }} | |||
- retry: | |||
attempts: 2 | |||
until: True | |||
interval: 10 | |||
splay: 10 | |||
- retry: {{ salt_settings.retry_options | json }} | |||
- require_in: | |||
- service: salt-master | |||
{%- endif %} |
@@ -27,11 +27,7 @@ download-salt-minion: | |||
- test -n "{{ salt_settings.version }}" && '/opt/salt/bin/salt-minion --version=.*{{ salt_settings.version }}.*' | |||
- require_in: | |||
- macpackage: salt-minion | |||
- retry: | |||
attempts: 2 | |||
until: True | |||
interval: 10 | |||
splay: 10 | |||
- retry: {{ salt_settings.retry_options | json }} | |||
{%- elif "workaround https://github.com/saltstack/salt/issues/49348" %} | |||
cmd.run: | |||
- name: /usr/local/bin/brew install {{ salt_settings.salt_minion }} | |||
@@ -45,11 +41,7 @@ salt-minion-macos: | |||
- name: /Library/LaunchDaemons/com.saltstack.salt.minion.plist | |||
- source: https://raw.githubusercontent.com/saltstack/salt/master/pkg/osx/scripts/com.saltstack.salt.master.plist | |||
- source_hash: {{ salt_settings.salt_minion_macos_plist_hash }} | |||
- retry: | |||
attempts: 2 | |||
until: True | |||
interval: 10 | |||
splay: 10 | |||
- retry: {{ salt_settings.retry_options | json }} | |||
- require_in: | |||
- service: salt-minion | |||
- watch_in: |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -93,6 +93,11 @@ values: | |||
python_git: python-git | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -93,6 +93,11 @@ values: | |||
python_git: python-git | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -91,6 +91,11 @@ values: | |||
python_git: python-git | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: app-admin/salt |
@@ -91,6 +91,11 @@ values: | |||
python_git: python-git | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: app-admin/salt |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -90,6 +90,11 @@ values: | |||
python_git: python-git | |||
release: '3000' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: kitchen | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -93,6 +93,11 @@ values: | |||
python_git: python-git | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -93,6 +93,11 @@ values: | |||
python_git: python-git | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -91,6 +91,11 @@ values: | |||
python_git: python-git | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: app-admin/salt |
@@ -91,6 +91,11 @@ values: | |||
python_git: python-git | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: app-admin/salt |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3001' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 2 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -93,6 +93,11 @@ values: | |||
python_git: python2-gitpython | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -93,6 +93,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -93,6 +93,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -91,6 +91,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: app-admin/salt |
@@ -91,6 +91,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: app-admin/salt |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: GitPython | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -94,6 +94,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: root | |||
salt_api: salt-api |
@@ -90,6 +90,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: kitchen | |||
salt_api: salt-api |
@@ -90,6 +90,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: kitchen | |||
salt_api: salt-api |
@@ -90,6 +90,11 @@ values: | |||
python_git: python-git | |||
release: '3002' | |||
restart_via_at: false | |||
retry_options: | |||
attempts: 5 | |||
interval: 10 | |||
splay: 10 | |||
until: true | |||
rootgroup: root | |||
rootuser: vagrant | |||
salt_api: salt-api |