From f6d5286638d722965f424bb5a15b620d3ecfbbaa Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 8 Nov 2010 22:43:30 -0200 Subject: Adding NIS support --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index aca9a82..f188673 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,7 +21,8 @@ class apcupsd { ensure => installed, } - define ups($upstype = 'apcsmart', $cable = 'smart', $device = '/dev/ttyS0', $ensure = 'present') { + define ups($upstype = 'apcsmart', $cable = 'smart', $device = '/dev/ttyS0', $ensure = 'present', + $nisip = '127.0.0.1', $polltime = '60') { $ups_configured = $ensure ? { 'present' => 'yes', -- cgit v1.2.3