Skip to content

Commit 3f9a1f9

Browse files
Merge pull request #47 from saz/apache_fragment
remove apache custom fragment
2 parents f1e25d9 + 49e9d32 commit 3f9a1f9

File tree

4 files changed

+29
-33
lines changed

4 files changed

+29
-33
lines changed

.fixtures.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ fixtures:
33
stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git"
44
apache:
55
repo: "git://github.com/puppetlabs/puppetlabs-apache.git"
6-
ref: '0.8.0'
6+
ref: '1.0.1'
77
puppetdb: "git://github.com/puppetlabs/puppetlabs-puppetdb.git"
88
inifile: "git://github.com/puppetlabs/puppetlabs-inifile.git"
99
concat: "git://github.com/ripienaar/puppet-concat.git"

Modulefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ license 'Apache'
88
project_page 'https://github.com/stephenrjohnson/puppetlabs-puppet'
99
## Add dependencies, if any:
1010
dependency 'puppetlabs/inifile', '>= 1.0.0'
11-
dependency 'puppetlabs/apache', '>= 0.8.0'
11+
dependency 'puppetlabs/apache', '>= 1.0.1'
1212
dependency 'puppetlabs/puppetdb', '>= 2.0.0'
1313
dependency 'puppetlabs/stdlib', '>= 3.0.0'

manifests/passenger.pp

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -99,20 +99,33 @@
9999
}
100100

101101
apache::vhost { "puppet-${certname}":
102-
port => $puppet_passenger_port,
103-
priority => '40',
104-
docroot => $puppet_docroot,
105-
serveradmin => $apache_serveradmin,
106-
servername => $certname,
107-
ssl => true,
108-
ssl_cert => "${puppet_ssldir}/certs/${certname}.pem",
109-
ssl_key => "${puppet_ssldir}/private_keys/${certname}.pem",
110-
ssl_chain => "${puppet_ssldir}/ca/ca_crt.pem",
111-
ssl_ca => "${puppet_ssldir}/ca/ca_crt.pem",
112-
ssl_crl => "${puppet_ssldir}/ca/ca_crl.pem",
113-
rack_base_uris => '/',
114-
custom_fragment => template('puppet/apache_custom_fragment.erb'),
115-
require => [ File['/etc/puppet/rack/config.ru'], File[$puppet_conf] ],
102+
port => $puppet_passenger_port,
103+
priority => '40',
104+
docroot => $puppet_docroot,
105+
serveradmin => $apache_serveradmin,
106+
servername => $certname,
107+
ssl => true,
108+
ssl_cert => "${puppet_ssldir}/certs/${certname}.pem",
109+
ssl_key => "${puppet_ssldir}/private_keys/${certname}.pem",
110+
ssl_chain => "${puppet_ssldir}/ca/ca_crt.pem",
111+
ssl_ca => "${puppet_ssldir}/ca/ca_crt.pem",
112+
ssl_crl => "${puppet_ssldir}/ca/ca_crl.pem",
113+
ssl_protocol => '-ALL +SSLv3 +TLSv1',
114+
ssl_cipher => 'ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP',
115+
ssl_verify_client => 'optional',
116+
ssl_verify_depth => '1',
117+
ssl_options => ['+StdEnvVars', '+ExportCertData'],
118+
rack_base_uris => '/',
119+
directories => [
120+
{
121+
path => $puppet_docroot,
122+
},
123+
{
124+
path => '/etc/puppet/rack',
125+
options => 'None',
126+
},
127+
],
128+
require => [ File['/etc/puppet/rack/config.ru'], File[$puppet_conf] ],
116129
}
117130

118131
#Hack to add extra passenger configurations for puppetmaster

templates/apache_custom_fragment.erb

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)