0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-30 19:35:19 +01:00
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