From 722a2f7b6984b05d96e270220d161fbddc1eca83 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 3 Mar 2014 20:24:14 +0100 Subject: ssl module --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'global/overlay') 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 { -- cgit v1.1