remove renamed files
authorPaul Tonelli <paul.tonelli@logilab.fr>
Wed, 06 Mar 2013 10:10:36 +0100
changeset 29 1af31ae37c03
parent 28 25e5edde5370
child 30 fda7c7b6b204
remove renamed files
ami-creator.post.sls
ami_creator.pre.sls
--- a/ami-creator.post.sls	Wed Mar 06 10:07:08 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-# /srv/salt/init_machine.sls
-#
-
-
--- a/ami_creator.pre.sls	Wed Mar 06 10:07:08 2013 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-# /srv/salt/init_machine.sls
-#
-
-base_pkgs:
-    pkg.installed:
-        - pkgs:
-            - salt-minion
-            - python
-            - mercurial
-            - tar
-            - glance
-#          - eca2ools
-
-hg_ami_creation:
-    hg.latest:
-        - name: http://hg.logilab.fr/users/ptonelli/srv_salt
-        - target: /etc/salt/srv
-
-
-#hg_img_available:
-
-### Mounts ###
-mounted_variation:
-    mount.mounted:
-        - device: /mnt/variation.img
-        - name: /mnt/variation
-        - fstype: ext4
-        - mkmnt: False
-        - opts:
-            - loop
-
-chroot_proc:
-    mount.mounted:
-        - device: none
-        - name: /mnt/variation/proc
-        - fstype: proc
-        - mkmnt: False
-        - require:
-            - mount.mounted: mounted_variation
-
-chroot_devpts:
-    mount.mounted:
-        - device: none
-        - name: /mnt/variation/dev/pts
-        - fstype: devpts
-        - mkmnt: False
-        - require:
-            - mount.mounted: mounted_variation
-
-
-### Temporary Files ###
-01proxy:
-    file.managed:
-        - name: /mnt/variation/etc/apt/apt.conf.d/01proxy
-        - source: salt://others/01proxy
-        - mode: 644
-        - require:
-            - mount.mounted: mounted_variation
-
-
-policy-rc.d:
-    file.managed:
-        - name: /mnt/variation/usr/sbin/policy-rc.d
-        - source: salt://others/policy-rc.d
-        - mode: 755
-        - require:
-            - mount.mounted: mounted_variation
-
-resolv.conf:
-    tmp_func.local_managed:
-        - name: /mnt/variation/etc/resolv.conf
-        - source: /etc/resolv.conf
-        - require:
-            - mount.mounted: mounted_variation