deps and modes

legacy
Astro 6 years ago
parent 6e91b323cb
commit 5d5b639a87

@ -19,6 +19,8 @@ lxc:
- context:
id: {{ id }}
container: {{ container }}
- require_in:
cmd: /var/lib/lxc/{{ id }}
/var/lib/lxc/{{ id }}/rootfs/etc/hosts:
file.managed:
@ -27,6 +29,8 @@ lxc:
- context:
id: {{ id }}
container: {{ container }}
- require_in:
cmd: /var/lib/lxc/{{ id }}
autostart-{{ id }}:
service.enabled:

@ -6,5 +6,6 @@
- context:
hostname: {{ hostname }}
switch: {{ switch }}
- mode: 744
{%- endfor %}

Loading…
Cancel
Save