summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp7
1 files changed, 6 insertions, 1 deletions
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',