aboutsummaryrefslogtreecommitdiff
path: root/manifests/ups.pp
blob: 558941e40ed27eab6b8212dda19d6595fabd84c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class ups {
  include apcupsd

  case $has_ups {
    true: {
      apcupsd::ups { "ups0":
        upstype => 'usb',
        cable   => 'usb',
        device  => '/dev/usb/hiddev0',
      }
    }
  }
}