diff options
author | Micah Anderson <micah@riseup.net> | 2013-01-15 16:58:12 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-01-15 16:58:12 -0500 |
commit | d8bf530ec42fdc4d2281169234964d28d8a689ac (patch) | |
tree | 3857de605b8bd3878083ad4071bb94cf405f8ab2 /manifests/service.pp |
initial commit
Diffstat (limited to 'manifests/service.pp')
-rw-r--r-- | manifests/service.pp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/service.pp b/manifests/service.pp new file mode 100644 index 0000000..2556999 --- /dev/null +++ b/manifests/service.pp @@ -0,0 +1,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], + } +} |