aboutsummaryrefslogtreecommitdiff
path: root/manifests/ups.pp
blob: 8f7eaf7e0ecfba50b84f690a12cf8f72c420e66c (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',
      }
    }
  }
}