diff options
-rw-r--r-- | manifests/client/darwin.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/client/darwin.pp b/manifests/client/darwin.pp index 4004f74..92787ec 100644 --- a/manifests/client/darwin.pp +++ b/manifests/client/darwin.pp @@ -5,9 +5,10 @@ class munin::client::darwin { group => 0, owner => root, } - delete_matching_line{"startsnmpdno": + line{"startsnmpdno": file => "/etc/hostconfig", - pattern => "SNMPSERVER=-NO-", + line => "SNMPSERVER=-NO-", + ensure => 'absent', } line { "startsnmpdyes": file => "/etc/hostconfig", |