From 85109d2290e327b0ce0bbdb86f2a36e07cd95462 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 3 Mar 2014 20:41:11 +0100 Subject: default vhost --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'global') diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index 471728d..d419eb7 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -336,12 +336,17 @@ node 'wp.sunet.se' { ensure => 'present' } class {'apache': - mpm_module => 'prefork' + mpm_module => 'prefork', + default_vhost => false } package {'libapache2-mod-php5': ensure => 'latest'} package {'php-mdb2-driver-mysql': ensure => 'latest'} apache::mod {'php5': } apache::mod {'ssl': } + apache::vhost { 'default': + port => 80, + docroot => '/opt/wordpress' + } include mysql::server class { wordpress: wp_owner => 'wordpress', -- cgit v1.1