Fix: pkgs is undefined

Update sls files to match name change in map.jinja.
This commit is contained in:
Simon Lloyd committed 2015-01-11 19:31:05 +01:00
1 parent 9821a94104
commit cb03e885d4
6 files changed
+22 -22

No files matched your search

+4 -4
View File
@@ -1,10 +1,10 @@
{% from "salt/map.jinja" import pkgs with context %}
{% from "salt/map.jinja" import salt with context %}
salt-minion:
pkg.installed:
- name: {{ pkgs['salt-minion'] }}
- name: {{ salt['salt-minion'] }}
file.recurse:
- name: {{ pkgs.get('config-path', '/etc/salt') }}/minion.d
- name: {{ salt.get('config-path', '/etc/salt') }}/minion.d
- template: jinja
- source: salt://salt/files/minion.d
- clean: True
@@ -12,7 +12,7 @@ salt-minion:
standalone: False
service.running:
- enable: True
- name: {{ pkgs.get('minion-service', 'salt-minion') }}
- name: {{ salt.get('minion-service', 'salt-minion') }}
- watch:
- pkg: salt-minion
- file: salt-minion