summaryrefslogtreecommitdiff
path: root/manifests/debian.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-22 14:36:38 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-22 14:36:38 -0500
commite87062cc4494ab28fb9e2b7fef5d7ee9e85f1dbc (patch)
treed030039ec3e01a92fef31db886328cf9dcd0ec7c /manifests/debian.pp
parentb97e692e552fd13bf8ec474c5828668e0ecb4ffb (diff)
remove default vhost from debian package
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r--manifests/debian.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index b16dc9d..54302ae 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -3,7 +3,7 @@ class apache::debian inherits apache::package {
$config_dir = '/etc/apache2'
Package[apache] {
- name => 'apache2',
+ name => 'apache2',
}
File[vhosts_dir] {
path => "${config_dir}/sites-enabled",
@@ -18,5 +18,9 @@ class apache::debian inherits apache::package {
File[default_apache_index] {
path => '/var/www/index.html',
}
+ file { 'default_debian_apache_vhost':
+ path => '/etc/apache2/sites-enabled/000-default',
+ ensure => absent,
+ }
}