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

19 lines
485 B
Plaintext

{% from "salt/map.jinja" import salt with context %}
salt-minion:
pkg.installed:
- name: {{ salt['salt-minion'] }}
file.recurse:
- name: {{ salt.get('config-path', '/etc/salt') }}/minion.d
- template: jinja
- source: salt://salt/files/minion.d
- clean: True
- context:
standalone: True
service.dead:
- enable: False
- name: {{ salt.get('minion-service', 'salt-minion') }}
- require:
- pkg: salt-minion
- file: salt-minion