ami_creator_post.sls
author Paul Tonelli <paul.tonelli@logilab.fr>
Tue, 05 Mar 2013 18:57:42 +0100
changeset 25 18936b962551
parent 18 4239da26bf7c
child 35 0792b2bd0795
permissions -rw-r--r--
corrected errors in sizes, still need cleanup with same units

### Salt state to check after modifying chroot ###

### deletes ###

policy_removed:
    file.absent:
        - name: /mnt/variation/usr/sbin/policy-rc.d

resolvconf_removed:
    file.absent:
        - name: /mnt/variation/etc/resolv.conf

### umounts ###
umount_chroot_proc:
    tmp_func.umounted:
        - name: /mnt/variation/proc

umount_chroot_devpts:
    tmp_func.umounted:
        - name: /mnt/variation/dev/pts

umount_chroot_slash:
    tmp_func.umounted:
        - name: /mnt/variation
        - require:
            - tmp_func.umounted: umount_chroot_devpts
            - tmp_func.umounted: umount_chroot_proc
            - file.absent: policy_removed
            - file.absent: resolvconf_removed