rename ami_creator sls to ami_builder
authorArthur Lutz <arthur.lutz@logilab.fr>
Wed, 15 May 2013 10:46:11 +0200
changeset 148 82e6e462810a
parent 147 912e8362c012
child 149 eba16c8899d4
rename ami_creator sls to ami_builder
ami_builder.sls
ami_creator.sls
readme.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ami_builder.sls	Wed May 15 10:46:11 2013 +0200
@@ -0,0 +1,22 @@
+# /srv/salt/init_machine.sls
+
+preparation:
+    module.run:
+        - name: state.sls
+        - mods: ami_pre
+
+chroot_variate:
+    module.run:
+        - name: chroot.run
+        - path: /mnt/variation
+        - command: salt-call  --local state.highstate
+        - require:
+            - module.run: preparation
+
+cleaning:
+    module.run:
+        - name: state.sls
+        - mods: ami_post
+        - require:
+            - module.run: chroot_variate
+
--- a/ami_creator.sls	Wed May 15 10:44:51 2013 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-# /srv/salt/init_machine.sls
-
-preparation:
-    module.run:
-        - name: state.sls
-        - mods: ami_pre
-
-chroot_variate:
-    module.run:
-        - name: chroot.run
-        - path: /mnt/variation
-        - command: salt-call  --local state.highstate
-        - require:
-            - module.run: preparation
-
-cleaning:
-    module.run:
-        - name: state.sls
-        - mods: ami_post
-        - require:
-            - module.run: chroot_variate
-
--- a/readme.rst	Wed May 15 10:44:51 2013 +0200
+++ b/readme.rst	Wed May 15 10:46:11 2013 +0200
@@ -109,8 +109,7 @@
 
 minion: must be copied to /etc/salt, provides a masterless configuration for salt
 
-
-ami_creator.sls: state file containing all operations to create the new image 
+ami_builder.sls: state file regrouping all operations to create the new image 
 
 ami_pre: state folder (contains a few sls files) applied before the creation of variation
 
@@ -138,7 +137,7 @@
 (doing it twice is necessary to load new state/modules from the hg repository). Next,
 
 ::
-  salt-call state.sls ami_creator
+  salt-call state.sls ami_builder
 
 includes all the operations done in the image. The operations can be grouped in three steps: