Make all-clouds.yaml admin readable

And also the certs and the other clouds.yaml file.
So that admins can run openstackclient, etc, without sudo.

Change-Id: Ib8be3cd0601531284ec5d33cb5024b8363d924ca
This commit is contained in:
James E. Blair 2016-02-23 13:58:41 -08:00
parent c476a68363
commit c5f0cb4b32

View File

@ -123,24 +123,24 @@ class openstack_project::puppetmaster (
file { '/etc/openstack/clouds.yaml':
ensure => present,
owner => 'root',
group => 'root',
mode => '0600',
group => 'admin',
mode => '0660',
content => template('openstack_project/puppetmaster/ansible-clouds.yaml.erb'),
}
file { '/etc/openstack/all-clouds.yaml':
ensure => present,
owner => 'root',
group => 'root',
mode => '0600',
group => 'admin',
mode => '0660',
content => template('openstack_project/puppetmaster/all-clouds.yaml.erb'),
}
file { '/etc/openstack/infracloud_west_cacert.pem':
ensure => present,
owner => 'root',
group => 'root',
mode => '0600',
group => 'admin',
mode => '0660',
content => $infracloud_hpuswest_ssl_cert_file_contents,
}