From 21a618adb3ebba0cb1e98fae75d0afdd8f9e9244 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 27 Nov 2013 14:41:51 -0800 Subject: [PATCH] Properly escape Schrodinger's Cat in yaml. * modules/openstack_project/templates/nodepool/nodepool.yaml.erb: The backslash in 'Schrodinger\'s Cat' didn't make our yaml parser happy. Use a string literal instead to avoid string escape issues. Change-Id: I137dac35711a005fbc43e1b3bfb84d217d96de6a --- .../templates/nodepool/nodepool.yaml.erb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/openstack_project/templates/nodepool/nodepool.yaml.erb b/modules/openstack_project/templates/nodepool/nodepool.yaml.erb index 278f9191f3..eff7c83260 100644 --- a/modules/openstack_project/templates/nodepool/nodepool.yaml.erb +++ b/modules/openstack_project/templates/nodepool/nodepool.yaml.erb @@ -32,7 +32,8 @@ providers: username: jenkins private-key: /home/nodepool/.ssh/id_rsa - name: devstack-f19-check - base-image: 'Fedora 19 (Schrodinger\'s Cat)' + base-image: | + Fedora 19 (Schrodinger's Cat) min-ram: 8192 setup: prepare_node_devstack.sh username: jenkins @@ -55,7 +56,8 @@ providers: username: jenkins private-key: /home/nodepool/.ssh/id_rsa - name: devstack-f19-check - base-image: 'Fedora 19 (Schrodinger\'s Cat)' + base-image: | + Fedora 19 (Schrodinger's Cat) min-ram: 8192 setup: prepare_node_devstack.sh username: jenkins @@ -78,7 +80,8 @@ providers: username: jenkins private-key: /home/nodepool/.ssh/id_rsa - name: devstack-f19-check - base-image: 'Fedora 19 (Schrodinger\'s Cat)' + base-image: | + Fedora 19 (Schrodinger's Cat) min-ram: 8192 setup: prepare_node_devstack.sh username: jenkins