2015-01-11 19:31:05 +01:00
|
|
|
{% from "salt/map.jinja" import salt with context %}
|
2014-10-28 17:45:32 +01:00
|
|
|
|
|
|
|
ensure salt-ssh is installed:
|
|
|
|
pkg.installed:
|
2015-01-11 19:31:05 +01:00
|
|
|
- name: {{ salt['salt-ssh'] }}
|
2014-10-28 17:45:32 +01:00
|
|
|
|
|
|
|
ensure roster config:
|
|
|
|
file.managed:
|
2015-01-11 19:31:05 +01:00
|
|
|
- name: {{ salt.get('config_path', '/etc/salt') }}/roster
|
2014-10-28 17:45:32 +01:00
|
|
|
- source: salt://salt/files/roster.jinja
|
|
|
|
- template: jinja
|
|
|
|
- require:
|
|
|
|
- pkg: ensure salt-ssh is installed
|