aboutsummaryrefslogtreecommitdiff
path: root/manifests/ups.pp
blob: f72714c0b94731b9c1de46364a3058900a9b3d76 (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"
        type   => 'usb',
        cable  => 'usb',
        device => '/dev/usb/hiddev0',
      }
    }
  }
}