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

+3 -3
View File
@@ -1,5 +1,5 @@
{% from "salt/map.jinja" import pkgs with context %}
{% set salt = pillar.get('salt', {}) -%}
{% from "salt/map.jinja" import salt with context %}
{% do salt.update(pillar.get('salt', {})) -%}
{% set cloud = salt.get('cloud', {}) -%}
python-pip:
@@ -24,7 +24,7 @@ apache-libcloud:
salt-cloud:
pkg.installed:
- name: {{ pkgs['salt-cloud'] }}
- name: {{ salt['salt-cloud'] }}
- require:
- pip: apache-libcloud
- pip: pycrypto