Nova/Glance: Mount nfs device with puppet
With 'ensure => present' in types::nfs we have only fstab configured. Change it to 'ensure => mounted' it mount the device during puppet agent. Signed-off-by: Dimitri Savineau <dimitri.savineau@enovance.com>
This commit is contained in:
@@ -500,7 +500,7 @@ describe 'cloud::compute::hypervisor' do
|
||||
it 'configure nova instances path and NFS mount' do
|
||||
is_expected.to contain_nova_config('DEFAULT/instances_path').with('value' => '/var/lib/nova/instances')
|
||||
is_expected.to contain_mount('/var/lib/nova/instances').with({
|
||||
'ensure' => 'present',
|
||||
'ensure' => 'mounted',
|
||||
'fstype' => 'nfs',
|
||||
'device' => 'nfs.example.com:/vol1',
|
||||
'options' => 'noacl,fsid=123'
|
||||
|
||||
Reference in New Issue
Block a user