code style for darwin class
authorMarcel Haerry <haerry@puzzle.ch>
Mon, 27 Sep 2010 10:13:10 +0000 (12:13 +0200)
committerMarcel Haerry <haerry@puzzle.ch>
Mon, 27 Sep 2010 10:13:10 +0000 (12:13 +0200)
manifests/client/darwin.pp

index f6fc95f..4004f74 100644 (file)
@@ -1,21 +1,21 @@
 class munin::client::darwin {
-       file { "/usr/share/snmp/snmpd.conf": 
-               mode => 744,
-               content => template("munin/darwin_snmpd.conf.erb"),
-               group  => 0,
-               owner  => root,
-       }
-       delete_matching_line{"startsnmpdno":
-               file => "/etc/hostconfig",
-               pattern => "SNMPSERVER=-NO-",
-       }
-       line { "startsnmpdyes":
-               file => "/etc/hostconfig",
-               line => "SNMPSERVER=-YES-",
-               notify => Exec["/sbin/SystemStarter start SNMP"],
-       }
-       exec{"/sbin/SystemStarter start SNMP":
-               noop => false,
-       } 
-       munin::register_snmp { $fqdn: }
+  file { "/usr/share/snmp/snmpd.conf":
+    mode => 744,
+    content => template("munin/darwin_snmpd.conf.erb"),
+    group  => 0,
+    owner  => root,
+  }
+  delete_matching_line{"startsnmpdno":
+    file => "/etc/hostconfig",
+    pattern => "SNMPSERVER=-NO-",
+  }
+  line { "startsnmpdyes":
+    file => "/etc/hostconfig",
+    line => "SNMPSERVER=-YES-",
+    notify => Exec["/sbin/SystemStarter start SNMP"],
+  }
+  exec{"/sbin/SystemStarter start SNMP":
+    noop => false,
+  }
+  munin::register::snmp { $fqdn: }
 }