summaryrefslogtreecommitdiff
path: root/manifests/client/params.pp
diff options
context:
space:
mode:
authorduritong <peter.meier+github@immerda.ch>2014-01-25 06:22:18 -0800
committerduritong <peter.meier+github@immerda.ch>2014-01-25 06:22:18 -0800
commit21eeb6c772a2e8b362b6917694f169d5b2c7032d (patch)
tree5d851c42f824570900fa5896c50be65fe2d31632 /manifests/client/params.pp
parent09316f8abaa90b816be0c3dae35c86b41959bd2b (diff)
parent151b37a22ee5822101aa316d0c0620ad535c80d1 (diff)
Merge pull request #30 from oxilion/file-cleanup
Clean up files by using templates
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..14d3749
--- /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 $::operatingsystem {
+ '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'
+ }
+ }
+}