]> gitweb.fluxo.info Git - puppet-nginx.git/commitdiff
Remove nginx::cert, ssl module does the job
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 23 May 2015 14:41:35 +0000 (11:41 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 23 May 2015 14:41:35 +0000 (11:41 -0300)
manifests/cert.pp [deleted file]

diff --git a/manifests/cert.pp b/manifests/cert.pp
deleted file mode 100644 (file)
index 28906f0..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-define nginx::cert()
-{
-  ssl::cert { "$name":
-    main   => true,
-    notify => Service['nginx'],
-  }
-
-  ssl::check { "$name":
-    file => true,
-  }
-
-  Service["nginx"] {
-    require => [ Package["nginx"],
-                 File["/etc/nginx/sites-enabled/${name}"],
-                 File["/etc/ssl/private/${name}.pem"],
-                 File["/etc/ssl/certs/${name}.crt"] ],
-  }
-}