summaryrefslogtreecommitdiff
path: root/puppet/modules/site_nickserver
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-12-02 01:02:55 +0100
committervarac <varacanero@zeromail.org>2015-12-02 01:02:55 +0100
commite2444e41f42cc21796bcc45d0363105893d8a348 (patch)
treeb70573fd954581ff157f2c47a13ecfced737f998 /puppet/modules/site_nickserver
parent7104664f284485c90647e93d8d0c5feb734fe46b (diff)
fix nickserver dependency for wheezy
Diffstat (limited to 'puppet/modules/site_nickserver')
-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'] ];