2
0
salt-formula/salt/ssh.sls
Brian Jackson cb3aa80c62 Don't overwrite salt variable
Using a variable named salt is a bad idea when salt already has a variable
named salt.
2015-03-16 23:39:32 -05:00

14 lines
365 B
Plaintext

{% from "salt/map.jinja" import salt_settings with context %}
ensure salt-ssh is installed:
pkg.installed:
- name: {{ salt_settings.salt_ssh }}
ensure roster config:
file.managed:
- name: {{ salt_settings.config_path }}/roster
- source: salt://salt/files/roster.jinja
- template: jinja
- require:
- pkg: ensure salt-ssh is installed