2
0
salt-formula/salt/ssh.sls
Simon Lloyd cb03e885d4 Fix: pkgs is undefined
Update sls files to match name change in map.jinja.
2015-01-11 19:31:05 +01:00

14 lines
361 B
Plaintext

{% from "salt/map.jinja" import salt with context %}
ensure salt-ssh is installed:
pkg.installed:
- name: {{ salt['salt-ssh'] }}
ensure roster config:
file.managed:
- name: {{ salt.get('config_path', '/etc/salt') }}/roster
- source: salt://salt/files/roster.jinja
- template: jinja
- require:
- pkg: ensure salt-ssh is installed