diff options
author | Leif Johansson <leifj@sunet.se> | 2014-03-03 20:41:11 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-03-03 20:41:11 +0100 |
commit | 85109d2290e327b0ce0bbdb86f2a36e07cd95462 (patch) | |
tree | 9f46786d2b7bfa2e95dc5e321542651d10a3478f /global/overlay/etc | |
parent | b44d82490e79472c3a15110ff947621fb2e232af (diff) |
default vhostsunet-ops-2014-03-03-v35
Diffstat (limited to 'global/overlay/etc')
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 7 |
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', |