Skip to content

Commit

Permalink
add work-around for saltstack/salt#42681
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelic committed Sep 6, 2017
1 parent 8211c5b commit f1645d7
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions srv/salt/consul/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ consul:
- source: {{pillar["urls"]["consul"]}}
- source_hash: {{pillar["hashes"]["consul"]}}
- archive_format: zip
- unless: test -f /usr/local/bin/consul # workaround for https://github.com/saltstack/salt/issues/42681
- if_missing: /usr/local/bin/consul
- enforce_toplevel: False
file.managed:
Expand Down
2 changes: 2 additions & 0 deletions srv/salt/consul/template.sls
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ consul-template:
- name: /usr/local/bin
- source: {{pillar["urls"]["consul-template"]}}
- source_hash: {{pillar["hashes"]["consul-template"]}}
- keep: True
- archive_format: zip
- unless: test -f /usr/local/bin/consul-template # workaround for https://github.com/saltstack/salt/issues/42681
- if_missing: /usr/local/bin/consul-template
- enforce_toplevel: False
file.managed:
Expand Down
1 change: 1 addition & 0 deletions srv/salt/dev/exxo.sls
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ exxo:
- source: {{pillar["urls"]["exxo"]}}
- source_hash: {{pillar["hashes"]["exxo"]}}
- archive_format: tar
- unless: test -f /usr/local/bin/exxo # workaround for https://github.com/saltstack/salt/issues/42681
- if_missing: /usr/local/bin/exxo
- enforce_toplevel: False
file.managed:
Expand Down
1 change: 1 addition & 0 deletions srv/salt/dev/fpm.sls
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fpm:
- source: {{pillar["urls"]["fpmdeps"]}}
- source_hash: {{pillar["hashes"]["fpmdeps"]}}
- archive_format: zip
- unless: test -f /usr/local/src/fpm/fpm-1.8.1.gem # workaround for https://github.com/saltstack/salt/issues/42681
- if_missing: /usr/local/src/fpm/fpm-1.8.1.gem
- enforce_toplevel: False
- require:
Expand Down
1 change: 1 addition & 0 deletions srv/salt/nomad/client.sls
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ nomad:
- source: {{pillar["urls"]["nomad"]}}
- source_hash: {{pillar["hashes"]["nomad"]}}
- archive_format: zip
- unless: test -f /usr/local/bin/nomad # workaround for https://github.com/saltstack/salt/issues/42681
- if_missing: /usr/local/bin/nomad
- enforce_toplevel: False
file.managed:
Expand Down
1 change: 1 addition & 0 deletions srv/salt/vault/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ vault:
- source: {{pillar["urls"]["vault"]}}
- source_hash: {{pillar["hashes"]["vault"]}}
- archive_format: zip
- unless: test -f /usr/local/bin/vault # workaround for https://github.com/saltstack/salt/issues/42681
- if_missing: /usr/local/bin/vault
- enforce_toplevel: False
file.managed:
Expand Down

0 comments on commit f1645d7

Please sign in to comment.