Blame salt/profile/salt/files/srv/reactor/update_fileserver.sls
|
Theo Chatzimichos |
d12b82 |
{%- set deploy_password = salt['pillar.get']('profile:salt:reactor:update_fileserver_deploy_password', '') -%}
|
|
Theo Chatzimichos |
d12b82 |
{%- raw -%}
|
|
Theo Chatzimichos |
d12b82 |
{%- set data = salt['pillar.get']('event_data') -%}
|
|
Theo Chatzimichos |
d12b82 |
{%- if data == "{% endraw %}{{ deploy_password }}{% raw %}" -%}
|
|
Theo Chatzimichos |
7296bd |
update_fileserver:
|
|
|
039b6e |
runner.fileserver.update: []
|
|
|
039b6e |
runner.git_pillar.update: []
|
|
Theo Chatzimichos |
d12b82 |
{%- endif -%}
|
|
Theo Chatzimichos |
d12b82 |
{%- endraw -%}
|