summaryrefslogtreecommitdiff
path: root/puppet/modules/site_stunnel/manifests/override_service.pp
blob: 435b9aa071899b93b9c4980530f9e32c10ad2a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# override stunnel::debian defaults
#
# ignore puppet lint error about inheriting from different namespace
# lint:ignore:inherits_across_namespaces
class site_stunnel::override_service inherits stunnel::debian {
# lint:endignore

  include site_config::x509::cert
  include site_config::x509::key
  include site_config::x509::ca

  Service[stunnel] {
    subscribe => [
                  Class['Site_config::X509::Key'],
                  Class['Site_config::X509::Cert'],
                  Class['Site_config::X509::Ca'] ]
  }
}