Enclose variable in braces to pass lint CI check

Change-Id: Ie6c15900f0a6e96ecefbfc046c269f324302baf8
This commit is contained in:
Igor Zinovik 2015-12-16 14:21:49 +03:00
parent ff9d280179
commit da063f7b31
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ if $use_neutron {
$apache_service ='apache2'
exec { 'enable_lbaas':
command => "sed -ri \"s/^(\\s*)'enable_lb':.*/\\1'enable_lb': True,/g\" $horizon_settings_file",
unless => "egrep \"^\\s*'enable_lb':\\s*True\" $horizon_settings_file",
command => "sed -ri \"s/^(\\s*)'enable_lb':.*/\\1'enable_lb': True,/g\" ${horizon_settings_file}",
unless => "egrep \"^\\s*'enable_lb':\\s*True\" ${horizon_settings_file}",
path => '/bin:/usr/bin',
provider => 'shell',
}