Use a template to get more of the from-letsencrypt certs and keys, and no longer...
[mirror/dsa-puppet.git] / modules / ssl / templates / chained.erb
diff --git a/modules/ssl/templates/chained.erb b/modules/ssl/templates/chained.erb
deleted file mode 100644 (file)
index 737b9f5..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<%=
-  out = ""
-  fn = "/etc/puppet/modules/ssl/files/servicecerts/#{@name}.crt"
-  if File.exist?(fn) then
-    out = File.read(fn)
-
-    chain = "/etc/puppet/modules/ssl/files/chains/#{@name}.crt"
-    out += File.exist?(chain) ? ("\n" + File.read(chain)) : ''
-  else
-    fn = "/etc/puppet/modules/ssl/files/from-letsencrypt/#{@name}.crt-chained"
-    out = File.read(fn)
-  end
-  out
-%>