From e2444e41f42cc21796bcc45d0363105893d8a348 Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 2 Dec 2015 01:02:55 +0100 Subject: fix nickserver dependency for wheezy --- puppet/modules/site_nickserver/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'puppet/modules/site_nickserver/manifests') 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'] ]; -- cgit v1.2.3