Fix cinder directory permissions

The /var/lib/cinder/cinder-volumes should be read only to the
user root (Fixes: rhbz#1296995).

Change-Id: Id428b9a84aeb3e025dc943ce49e33df1065bfa6e
This commit is contained in:
Ivan Chavero
2016-01-12 19:15:25 -07:00
parent dfe39696e2
commit 8178b04615

View File

@@ -6,6 +6,12 @@ if $create_cinder_volume == 'y' {
loopback_device => '/dev/loop2',
volume_path => '/var/lib/cinder',
volume_name => 'cinder-volumes',
} ->
file {'/var/lib/cinder':
ensure => directory,
mode => "0600",
recurse => true,
}
# Add loop device on boot