From 368ed90dcc71f60e10f76770b549a6c72dddbe9a Mon Sep 17 00:00:00 2001 From: root Date: Sat, 1 Sep 2007 17:51:59 +0200 Subject: replace append_if_no_such_line by better modelled line define --- manifests/client.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/client.pp b/manifests/client.pp index f21a49b..8ee1552 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -79,7 +79,7 @@ class munin::client::darwin file => "/etc/hostconfig", pattern => "SNMPSERVER=-NO-", } - append_if_no_such_line{"startsnmpdyes": + line { "startsnmpdyes": file => "/etc/hostconfig", line => "SNMPSERVER=-YES-", notify => Exec["/sbin/SystemStarter start SNMP"], -- cgit v1.2.3