From bbb03c9138768b304a6c99f92d516997725ef6fe Mon Sep 17 00:00:00 2001 From: Dusty Miller Date: Thu, 7 Nov 2024 11:17:08 -0500 Subject: [PATCH] #386: Ensure addon folder exists before local folder This will allow for creating a blank new addon to manage if not using a source. --- manifests/addon.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/addon.pp b/manifests/addon.pp index c61d31f1..ba726e77 100644 --- a/manifests/addon.pp +++ b/manifests/addon.pp @@ -93,6 +93,12 @@ } } + file { "${_splunk_home}/etc/apps/${name}": + ensure => directory, + owner => $owner, + group => $owner, + } + file { "${_splunk_home}/etc/apps/${name}/local": ensure => directory, owner => $owner,