summaryrefslogtreecommitdiff
path: root/manifests/service.pp
blob: 2556999b99144d36d14881a17fc37b4318cf1679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# == 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,
    subscribe => File[$unbound::params::config],
  }
}