summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_nickserver/manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_nickserver/manifests/init.pp b/puppet/modules/site_nickserver/manifests/init.pp
index 47df0946..0e585e10 100644
--- a/puppet/modules/site_nickserver/manifests/init.pp
+++ b/puppet/modules/site_nickserver/manifests/init.pp
@@ -130,7 +130,8 @@ class site_nickserver {
exec { 'register_systemd_nickserver':
refreshonly => true,
command => '/bin/systemctl enable nickserver',
- subscribe => File['/etc/init.d/nickserver'];
+ subscribe => File['/etc/init.d/nickserver'],
+ before => Service['nickserver'];
}
}
}
@@ -143,7 +144,6 @@ class site_nickserver {
require => [
File['/etc/init.d/nickserver'],
File['/usr/bin/nickserver'],
- Exec['register_systemd_nickserver'],
Class['Site_config::X509::Key'],
Class['Site_config::X509::Cert'],
Class['Site_config::X509::Ca'] ];