summaryrefslogtreecommitdiff
path: root/manifests/client/params.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/client/params.pp')
-rw-r--r--manifests/client/params.pp19
1 files changed, 19 insertions, 0 deletions
diff --git a/manifests/client/params.pp b/manifests/client/params.pp
new file mode 100644
index 0000000..4473912
--- /dev/null
+++ b/manifests/client/params.pp
@@ -0,0 +1,19 @@
+# Set the parameters for the munin client
+class munin::client::params {
+ $user = 'root'
+
+ case $::osfamily {
+ 'OpenBSD': {
+ $group = '0'
+ $log_file = '/var/log/munin-node/munin-node.log'
+ }
+ 'Debian': {
+ $group = 'root'
+ $log_file = '/var/log/munin/munin-node.log'
+ }
+ default: {
+ $group = 'root'
+ $log_file = '/var/log/munin-node/munin-node.log'
+ }
+ }
+}