Correct etherpad lite certificates.
Etherpad lite previously attempted to manage its cert files in two different ways. This created a conflict and puppet would not run successfully. Remove the old way of managing the cert files. Change-Id: I9336c6f97d455917f4680bfdfd5543283714fe34 Reviewed-on: https://review.openstack.org/14584 Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
f304ba02fd
commit
14a7154254
@ -13,8 +13,6 @@ class etherpad_lite::apache (
|
||||
docroot => 'MEANINGLESS ARGUMENT',
|
||||
priority => '50',
|
||||
template => 'etherpad_lite/etherpadlite.vhost.erb',
|
||||
require => File["/etc/ssl/certs/${vhost_name}.pem",
|
||||
"/etc/ssl/private/${vhost_name}.key"],
|
||||
ssl => true,
|
||||
}
|
||||
a2mod { 'rewrite':
|
||||
@ -39,25 +37,6 @@ class etherpad_lite::apache (
|
||||
mode => 0700,
|
||||
}
|
||||
|
||||
file { "/etc/ssl/certs/${vhost_name}.pem":
|
||||
ensure => present,
|
||||
replace => true,
|
||||
owner => 'root',
|
||||
mode => 0600,
|
||||
content => template('etherpad_lite/eplite.crt.erb'),
|
||||
require => File['/etc/ssl/certs'],
|
||||
}
|
||||
|
||||
file { "/etc/ssl/private/${vhost_name}.key":
|
||||
ensure => present,
|
||||
replace => true,
|
||||
owner => 'root',
|
||||
mode => 0600,
|
||||
content => template('etherpad_lite/eplite.key.erb'),
|
||||
require => File['/etc/ssl/private'],
|
||||
}
|
||||
|
||||
|
||||
if $ssl_cert_file_contents != '' {
|
||||
file { $ssl_cert_file:
|
||||
owner => 'root',
|
||||
@ -88,6 +67,4 @@ class etherpad_lite::apache (
|
||||
before => Apache::Vhost[$vhost_name],
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
<%= etherpad_crt %>
|
@ -1 +0,0 @@
|
||||
<%= etherpad_key %>
|
Loading…
Reference in New Issue
Block a user