From 7f69dbd9fd772b61783ed21262af68f714fb0246 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Thu, 23 Feb 2017 14:38:12 +0100 Subject: [PATCH] buildd: make sure the buildd service is disabled and not running This is a leftover init script from the official buildd package, our setup uses cron to (re)start the build daemon. Signed-off-by: Aurelien Jarno --- modules/buildd/manifests/init.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/buildd/manifests/init.pp b/modules/buildd/manifests/init.pp index 3aa308015..8b6514eeb 100644 --- a/modules/buildd/manifests/init.pp +++ b/modules/buildd/manifests/init.pp @@ -106,6 +106,11 @@ class buildd ($ensure=present) { content => "*/5 * * * * root /usr/local/sbin/buildd-schroot-aptitude-kill\n", } + service { 'buildd': + enable = false, + ensure => 'stopped', + } + if $has_srv_buildd { file { '/etc/cron.d/puppet-update-buildd-schroots': content => "13 21 * * 0,3 root PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin setup-all-dchroots buildd\n", -- 2.20.1