summaryrefslogtreecommitdiff
path: root/manifests/host.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/host.pp')
-rw-r--r--manifests/host.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index 05dcb5e..0992d2b 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -4,6 +4,7 @@
class munin::host(
$cgi_graphing = false,
+ $cgi_owner = 'apache',
$export_tag = 'munin'
) {
package {"munin": ensure => installed, }
@@ -30,7 +31,9 @@ class munin::host(
include munin::plugins::muninhost
if $munin::host::cgi_graphing {
- include munin::host::cgi
+ class {'munin::host::cgi':
+ owner => $cgi_owner,
+ }
}
# from time to time we cleanup hanging munin-runs