From 209e177d4173eb09382dc91b0f0b24769966a0f4 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 13 Feb 2012 10:53:23 -0800 Subject: [PATCH] Remove the default apache site. The jenkins site config handles the default redirect. Change-Id: I55d0a23737b76317e6a5fdfbbadb6ca7e9a0fbc3 --- modules/jenkins_master/manifests/init.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/jenkins_master/manifests/init.pp b/modules/jenkins_master/manifests/init.pp index c2776cf13f..18b4579995 100644 --- a/modules/jenkins_master/manifests/init.pp +++ b/modules/jenkins_master/manifests/init.pp @@ -29,6 +29,11 @@ class jenkins_master { require => File['/etc/apache2/sites-available/jenkins'], } + file { '/etc/apache2/sites-enabled/000-default': + require => File['/etc/apache2/sites-enabled/jenkins'], + ensure => absent, + } + $packages = [ "jenkins", "python-pip",