blob: f96f453ee72bd262f55e19ce52c5b0fbb9d11074 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 | # == Class: unbound::service
#
# Manages the unbound service.  If $unbound::params::extended_service
# is true then OS specific service things are included.
#
# === Examples
#
# include unbound::service
#
class unbound::service {
  include unbound::params
  if $unbound::params::extended_service {
    class { $unbound::params::extended_service: }
  }
  service { $unbound::params::service:
    ensure    => running,
    hasstatus => $unbound::params::hasstatus,
    subscribe => File[$unbound::params::config],
  }
}
 |