Make ci-launch directory readable by admin users

Commit 5ae5e6cc added puppetry for /root/ci-launch on the Puppet
master server, but set permissions on it too restrictive for users
launching new servers to be able to read the files within it.

* launch/README: Note that the user following these directions
should also be in the admin group.

* modules/openstack_project/manifests/puppetmaster.pp: Set group
ownership of /root/ci-launch to admin so members of that group will
be able to read the files within it.

Change-Id: I6c657eb4311b27ce329f249df3e60c2b902677ae
This commit is contained in:
Jeremy Stanley 2013-09-13 18:52:59 +00:00
parent 5a37204bc3
commit 059d1ad4e0
2 changed files with 5 additions and 4 deletions

View File

@ -2,10 +2,11 @@ Create Server
============= =============
Note that these instructions assume you're working from this Note that these instructions assume you're working from this
directory on an updated local clone of the repository on the puppetmaster, and directory on an updated local clone of the repository on the
that your account is a member of the puppet and salt groups for access puppetmaster, and that your account is a member of the admin, puppet
to their respective keys:: and salt groups for access to their respective keys::
sudo adduser $(whoami) admin
sudo adduser $(whoami) puppet sudo adduser $(whoami) puppet
sudo adduser $(whoami) salt sudo adduser $(whoami) salt

View File

@ -46,7 +46,7 @@ class openstack_project::puppetmaster (
file { '/root/ci-launch': file { '/root/ci-launch':
ensure => directory, ensure => directory,
owner => 'root', owner => 'root',
group => 'root', group => 'admin',
mode => '0750', mode => '0750',
} }