summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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',