diff options
author | Leif Johansson <leifj@sunet.se> | 2014-03-03 20:24:14 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-03-03 20:24:14 +0100 |
commit | 722a2f7b6984b05d96e270220d161fbddc1eca83 (patch) | |
tree | 483b8751361e6635fdda41d132b69c49d6141253 /global/overlay/etc | |
parent | 706ff0e4acebfaea49707a2db041fec99d923f14 (diff) |
ssl modulesunet-ops-2014-03-03-v33
Diffstat (limited to 'global/overlay/etc')
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index c0a9cba..bf7708a 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -340,6 +340,7 @@ node 'wp.sunet.se' { } package {'libapache2-mod-php5': ensure => 'latest'} apache::mod {'php5': } + apache::mod {'ssl': } include mysql::server class { wordpress: wp_owner => 'wordpress', @@ -349,6 +350,16 @@ node 'wp.sunet.se' { wp_multisite => true, wp_site_domain => 'wp.sunet.se' } + ufw::allow { 'allow-www-wordpress': + port => '80', + ip => 'any', # both IPv4 and IPv6 + proto => 'tcp' + } + ufw::allow { 'allow-https-wordpress': + port => '443', + ip => 'any', # both IPv4 and IPv6 + proto => 'tcp' + } } class sunet-cdr { |