summaryrefslogtreecommitdiff
path: root/manifests/service.pp
blob: 9826b4a362ee68fa74a20fbe6f91f85440d0e05f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# == Class: rsyslog::service
#
# This class enforces running of the rsyslog service.
#
# === Parameters
#
# === Variables
#
# === Examples
#
#  class { 'rsyslog::service': }
#
class rsyslog::service inherits rsyslog::params {

  service { $rsyslog::params::service_name:
    ensure  => running,
    enable  => true,
    require => Class['rsyslog::config'],
  }

}