Merge pull request #464 from enovance/bug/461/emilien

Restart cinder-volume after creating a new volume type
This commit is contained in:
Yanis Guenane
2014-05-15 09:27:46 -04:00
3 changed files with 6 additions and 3 deletions

View File

@@ -152,6 +152,7 @@ define cloud::volume::backend::netapp (
@cinder::type { $volume_backend_name:
set_key => 'volume_backend_name',
set_value => $volume_backend_name
set_value => $volume_backend_name,
notify => Service['cinder-volume']
}
}

View File

@@ -97,6 +97,7 @@ define cloud::volume::backend::rbd (
@cinder::type { $volume_backend_name:
set_key => 'volume_backend_name',
set_value => $volume_backend_name
set_value => $volume_backend_name,
notify => Service['cinder-volume']
}
}

View File

@@ -125,7 +125,8 @@ describe 'cloud::volume::storage' do
should contain_cinder_config('premium/netapp_server_hostname').with_value('netapp-server.host')
should contain_cinder__type('premium').with(
:set_key => 'volume_backend_name',
:set_value => 'premium'
:set_value => 'premium',
:notify => 'Service[cinder-volume]'
)
end
end