Use: network: pkgs: purged: - resolvconf installed: - isc-dhcp-clientpull/9/head
@@ -0,0 +1,7 @@ | |||
#!jinja|yaml | |||
{% for action, pkgs in salt['pillar.get']('network:pkgs', {}).iteritems() %} | |||
network_pkgs_{{ action }}: | |||
pkg.{{ action }}: | |||
- pkgs: {{ pkgs }} | |||
{% endfor %} |
@@ -81,3 +81,10 @@ network: | |||
netmask: 255.255.0.0 | |||
gateway: 192.168.2.1 | |||
# To add/remove packages here. | |||
# You need to include the state network.packages in your salt. | |||
pkgs: | |||
purged: | |||
- resolvconf | |||
installed: | |||
- isc-dhcp-client |