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:
@@ -6,6 +6,12 @@ if $create_cinder_volume == 'y' {
|
|||||||
loopback_device => '/dev/loop2',
|
loopback_device => '/dev/loop2',
|
||||||
volume_path => '/var/lib/cinder',
|
volume_path => '/var/lib/cinder',
|
||||||
volume_name => 'cinder-volumes',
|
volume_name => 'cinder-volumes',
|
||||||
|
} ->
|
||||||
|
|
||||||
|
file {'/var/lib/cinder':
|
||||||
|
ensure => directory,
|
||||||
|
mode => "0600",
|
||||||
|
recurse => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Add loop device on boot
|
# Add loop device on boot
|
||||||
|
|||||||
Reference in New Issue
Block a user