summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-03-03 20:41:11 +0100
committerLeif Johansson <leifj@sunet.se>2014-03-03 20:41:11 +0100
commit85109d2290e327b0ce0bbdb86f2a36e07cd95462 (patch)
tree9f46786d2b7bfa2e95dc5e321542651d10a3478f
parentb44d82490e79472c3a15110ff947621fb2e232af (diff)
-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',