From dcf1d8944c83ec205486bff43fb3c292e7dc4765 Mon Sep 17 00:00:00 2001 From: Gavin Williams Date: Wed, 5 Feb 2020 14:05:42 +0000 Subject: [PATCH] Fix intake failure for variable_scope --- manifests/package.pp | 2 +- manifests/plugin.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/package.pp b/manifests/package.pp index 0bf8cd762..109d48a38 100644 --- a/manifests/package.pp +++ b/manifests/package.pp @@ -182,7 +182,7 @@ exec { 'remove_plugin_dir': refreshonly => true, - command => "rm -rf ${elasticsearch::_plugindir}", + command => "rm -rf ${::elasticsearch::_plugindir}", } diff --git a/manifests/plugin.pp b/manifests/plugin.pp index 12b74a1be..cb2551670 100644 --- a/manifests/plugin.pp +++ b/manifests/plugin.pp @@ -137,7 +137,7 @@ plugin_dir => $::elasticsearch::_plugindir, plugin_path => $module_dir, } - -> file { "${elasticsearch::_plugindir}/${_module_dir}": + -> file { "${::elasticsearch::_plugindir}/${_module_dir}": ensure => $_file_ensure, mode => 'o+Xr', recurse => true,