From e876eb45660417fc7da9382d8c20b4aa640e9d80 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Sun, 21 Oct 2012 09:11:16 -0700 Subject: [PATCH] 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 Reviewed-by: Clark Boylan Tested-by: Jenkins --- manifests/apache.pp | 23 ----------------------- templates/eplite.crt.erb | 1 - templates/eplite.key.erb | 1 - 3 files changed, 25 deletions(-) delete mode 100644 templates/eplite.crt.erb delete mode 100644 templates/eplite.key.erb diff --git a/manifests/apache.pp b/manifests/apache.pp index 9152b10..6e0f485 100644 --- a/manifests/apache.pp +++ b/manifests/apache.pp @@ -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], } } - - } diff --git a/templates/eplite.crt.erb b/templates/eplite.crt.erb deleted file mode 100644 index 2b2bdcd..0000000 --- a/templates/eplite.crt.erb +++ /dev/null @@ -1 +0,0 @@ -<%= etherpad_crt %> diff --git a/templates/eplite.key.erb b/templates/eplite.key.erb deleted file mode 100644 index 9f99d02..0000000 --- a/templates/eplite.key.erb +++ /dev/null @@ -1 +0,0 @@ -<%= etherpad_key %>