X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Felasticsearch%2Fmanifests%2Fplugin.pp;h=f0166a371801666ceaf439465e106a969e997c90;hb=542fedb190e874d6c8191ddf671f2868007f3b27;hp=f49a6bd3ea095587bfa14b3c391f8b6d256681aa;hpb=92d0c5bf1a22bfee00eb48d1cc3862fda5343028;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/elasticsearch/manifests/plugin.pp b/3rdparty/modules/elasticsearch/manifests/plugin.pp index f49a6bd3e..f0166a371 100644 --- a/3rdparty/modules/elasticsearch/manifests/plugin.pp +++ b/3rdparty/modules/elasticsearch/manifests/plugin.pp @@ -64,7 +64,7 @@ define elasticsearch::plugin( $module_dir, $instances, $ensure = 'present', - $url = '', + $url = undef, $proxy_host = undef, $proxy_port = undef, ) { @@ -76,7 +76,7 @@ define elasticsearch::plugin( cwd => '/', user => $elasticsearch::elasticsearch_user, tries => 6, - try_sleep => 10 + try_sleep => 10, } $notify_service = $elasticsearch::restart_on_change ? { @@ -93,7 +93,7 @@ define elasticsearch::plugin( if ($proxy_host != undef and $proxy_port != undef) { $proxy = " -DproxyPort=${proxy_port} -DproxyHost=${proxy_host}" } else { - $proxy = '' + $proxy = '' # lint:ignore:empty_string_assignment } if ($url != '') { @@ -112,7 +112,7 @@ define elasticsearch::plugin( creates => "${elasticsearch::plugindir}/${module_dir}", returns => $exec_rets, notify => $notify_service, - require => File[$elasticsearch::plugindir] + require => File[$elasticsearch::plugindir], } } default: {