From 5ae5e6cc5b16c60a37f389e3723e880745c875f7 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Fri, 30 Aug 2013 15:41:46 +1200 Subject: [PATCH] Create ci-launch directory on the puppetmaster. While credentials for clouds are uploaded by hand, the place they are put is constant and has one correct setting for mode and owner, so lets automate it. Change-Id: I98ce4493c260f97c3ac1028d7065536178760d72 --- 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 2dc6192ce0..539f52f601 100644 --- a/modules/openstack_project/manifests/puppetmaster.pp +++ b/modules/openstack_project/manifests/puppetmaster.pp @@ -42,6 +42,14 @@ class openstack_project::puppetmaster ( mode => '0750', } +# Cloud credentials are stored in this directory for launch-node.py. + file { '/root/ci-launch': + ensure => directory, + owner => 'root', + group => 'root', + mode => '0750', + } + # For launch/launch-node.py. package { ['python-cinderclient', 'python-novaclient']: ensure => latest,