Add Ironic-source.yaml
authorChris Krelle <nobodycam@gmail.com>
Fri, 30 Aug 2013 18:46:46 +0000 (11:46 -0700)
committerChris Krelle <nobodycam@gmail.com>
Wed, 23 Oct 2013 21:41:58 +0000 (14:41 -0700)
Mergeable Ironic yaml template. Makefile updated to create a
undercloud-vm-ironic template. This patch will allow Ironic
developers to include Ironic in the undercloud vm.

Change-Id: Ie3998336a12f3509742634e59de5c9bee922d579

Makefile
ironic-source.yaml [new file with mode: 0644]

index 0d7d3f8..52d65ef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,5 +6,9 @@ undercloud-vm-tuskar.yaml: undercloud-vm.yaml tuskar-source.yaml
        python merge.py $^ > $@.tmp
        mv $@.tmp $@
 
+undercloud-vm-ironic.yaml: undercloud-vm.yaml ironic-source.yaml
+       python merge.py $^ > $@.tmp
+       mv $@.tmp $@
+
 test:
        @bash test_merge.bash
diff --git a/ironic-source.yaml b/ironic-source.yaml
new file mode 100644 (file)
index 0000000..bd23e61
--- /dev/null
@@ -0,0 +1,10 @@
+Description: 'Ironic: Bare Metal provisioning, API and Conductor services.'
+Resources:
+  ironic:
+    Type: AWS::AutoScaling::LaunchConfiguration
+    Metadata:
+      OpenStack::Role: notcomputeConfig
+      ironic:
+        db: mysql://ironic:unset@localhost/ironic
+        service-password: {Ref: AdminPassword}
+