diff options
Diffstat (limited to 'global/overlay/etc/puppet')
-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 { |