From db20a4cfdfe1629a33b781f2d5344842293e70e3 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 23 Feb 2016 08:24:20 -0800 Subject: [PATCH] Write all-clouds.yaml to disk We have had an all-clouds.yaml file that was not being managed on disk by puppet. Actually apply it to disk so that the template ends up on the puppetmaster as expected. Change-Id: I0136cab7c03b1932be5b24ff2e93ea8adb84c20d --- modules/openstack_project/manifests/puppetmaster.pp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/openstack_project/manifests/puppetmaster.pp b/modules/openstack_project/manifests/puppetmaster.pp index 52c5b3991f..7d5a663b65 100644 --- a/modules/openstack_project/manifests/puppetmaster.pp +++ b/modules/openstack_project/manifests/puppetmaster.pp @@ -128,6 +128,14 @@ class openstack_project::puppetmaster ( content => template('openstack_project/puppetmaster/ansible-clouds.yaml.erb'), } + file { '/etc/openstack/all-clouds.yaml': + ensure => present, + owner => 'root', + group => 'root', + mode => '0600', + content => template('openstack_project/puppetmaster/all-clouds.yaml.erb'), + } + file { '/etc/openstack/infracloud_west_cacert.pem': ensure => present, owner => 'root',