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
This commit is contained in:
Robert Collins 2013-08-30 15:41:46 +12:00
parent 2bfb9144f2
commit 5ae5e6cc5b

View File

@ -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,