summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-12-10 17:01:29 -0500
committerMicah Anderson <micah@riseup.net>2010-12-10 17:01:29 -0500
commitd4ba356a919c557cdd25f6038b8d0284366a2fe8 (patch)
tree64f855883cb99b2005352b4d014fbe87067c2ed7 /manifests
parent74f66a8e77b153552ef52efee03187320e1ce877 (diff)
another formatting fix
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp38
1 files changed, 20 insertions, 18 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 1767c00..234523f 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -5,22 +5,24 @@
class munin::client inherits munin {
- $munin_port_real = $munin_port ? { '' => 4949, default => $munin_port }
- $munin_host_real = $munin_host ? {
- '' => '*',
- 'fqdn' => '*',
- default => $munin_host
- }
-
- case $operatingsystem {
- openbsd: { include munin::client::openbsd }
- darwin: { include munin::client::darwin }
- debian,ubuntu: { include munin::client::debian }
- gentoo: { include munin::client::gentoo }
- centos: { include munin::client::centos }
- default: { include munin::client::base }
- }
- if $use_shorewall {
- include shorewall::rules::munin
- }
+ $munin_port_real = $munin_port ? { '' => 4949, default => $munin_port }
+ $munin_host_real = $munin_host ? {
+ '' => '*',
+ 'fqdn' => '*',
+ default => $munin_host
+ }
+
+ case $operatingsystem {
+ openbsd: { include munin::client::openbsd }
+ darwin: { include munin::client::darwin }
+ debian,ubuntu: { include munin::client::debian }
+ gentoo: { include munin::client::gentoo }
+ centos: { include munin::client::centos }
+ default: { include munin::client::base }
+ }
+
+ if $use_shorewall {
+ include shorewall::rules::munin
+ }
+
}