diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-11-08 22:43:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-11-08 22:43:30 -0200 |
commit | f6d5286638d722965f424bb5a15b620d3ecfbbaa (patch) | |
tree | ba55046f75da0080c094f98a2bc2d01d2685eed3 /manifests | |
parent | 48584c8cc51119c6b0dfbde767e34043e8aa080d (diff) | |
download | puppet-apcupsd-f6d5286638d722965f424bb5a15b620d3ecfbbaa.tar.gz puppet-apcupsd-f6d5286638d722965f424bb5a15b620d3ecfbbaa.tar.bz2 |
Adding NIS support
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 3 |
1 files changed, 2 insertions, 1 deletions
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', |