Skip to content

Commit

Permalink
Merge pull request #11 from bsg-sfrazer/master
Browse files Browse the repository at this point in the history
Allow archiver to overwrite files, ensure the written files will be o…
  • Loading branch information
bsg-sfrazer authored Oct 11, 2019
2 parents 10fb614 + 398b8ab commit 066f99d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/addon.pp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@
before => File["${_splunk_home}/etc/apps/${name}/local"],
} -> file { "${addon_creates}":
ensure => present,
} -> exec { "chown -R ${owner}:${owner} ${_splunk_home}/etc/apps/${name}":
cwd => "${_splunk_home}",
} -> exec { "chmod u+rw,g+rw -R ${_splunk_home}/etc/apps/${name}":
cwd => "${_splunk_home}",
}
} else {
package { $package_name:
Expand Down

0 comments on commit 066f99d

Please sign in to comment.