salt-ssh pillar data workaround
# salt-ssh doesn't support sending pillar data, so we have to embed it in the state files... | |
/etc/openvpn/server.key: | |
file.managed: | |
- contents: | | |
{{ pillar['openvpn']['server_key'] | indent(8) }} | |
- user: root | |
- group: root | |
- mode: 600 | |
/etc/openvpn/ta.key: | |
file.managed: | |
- contents: | | |
{{ pillar['openvpn']['ta_key'] | indent(8) }} | |
- user: root | |
- group: root | |
- mode: 600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
This is old, current salt-ssh sends pillars.