summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-11-08 22:43:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-11-08 22:43:30 -0200
commitf6d5286638d722965f424bb5a15b620d3ecfbbaa (patch)
treeba55046f75da0080c094f98a2bc2d01d2685eed3 /manifests
parent48584c8cc51119c6b0dfbde767e34043e8aa080d (diff)
downloadpuppet-apcupsd-f6d5286638d722965f424bb5a15b620d3ecfbbaa.tar.gz
puppet-apcupsd-f6d5286638d722965f424bb5a15b620d3ecfbbaa.tar.bz2
Adding NIS support
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp3
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',