Change-Id: I878587ade9dca81e2436419607b3887e1bdb3ac0
This commit is contained in:
sbartel 2015-04-30 12:17:21 +02:00
parent 2bc300fa24
commit bbac284d6e
1 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,9 @@ class plugin_cinder_netapp
$section = 'DEFAULT'
}
#Ensure that $ symbole is correctly escaped in netapp password
$netapp_password = regsubst($::fuel_settings['cinder_netapp']['netapp_password'],'\$','$$','G')
case $::osfamily {
'Debian': {
package { 'nfs-common':
@ -38,7 +41,7 @@ class plugin_cinder_netapp
} ->
cinder::backend::netapp { 'cinder_netapp':
netapp_login => $::fuel_settings['cinder_netapp']['netapp_login'],
netapp_password => $::fuel_settings['cinder_netapp']['netapp_password'],
netapp_password => $netapp_password,
netapp_server_hostname => $::fuel_settings['cinder_netapp']['netapp_server_hostname'],
volume_backend_name => $section,
# netapp_server_port => '80',