Make sure cdnp is running
This commit is contained in:
parent
6d6f1b632d
commit
da099a5e53
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,7 @@ class cdn::cache(
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
include sunet::systemd_reload
|
||||||
include sunet::packages::certbot
|
include sunet::packages::certbot
|
||||||
include cdn::ca_trust
|
include cdn::ca_trust
|
||||||
|
|
||||||
|
@ -194,6 +195,12 @@ class cdn::cache(
|
||||||
group => 'root',
|
group => 'root',
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
content => template('cdn/cache/sunet-cdnp.service.erb'),
|
content => template('cdn/cache/sunet-cdnp.service.erb'),
|
||||||
|
notify => [Class['sunet::systemd_reload']],
|
||||||
|
}
|
||||||
|
|
||||||
|
service { 'sunet-cdnp':
|
||||||
|
ensure => 'running',
|
||||||
|
enable => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
if $cache_secrets {
|
if $cache_secrets {
|
||||||
|
|
Loading…
Add table
Reference in a new issue