summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-05-23 11:41:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-05-23 11:41:35 -0300
commit82330a79dff899bd3a4a1efd8f686da2fcdaf3d6 (patch)
treef252c52ab4af0cfc06221445a0caa5248b54666e
parente448c4e15d8bc0e3212699d2d5ede7e55d27858b (diff)
downloadpuppet-nginx-82330a79dff899bd3a4a1efd8f686da2fcdaf3d6.tar.gz
puppet-nginx-82330a79dff899bd3a4a1efd8f686da2fcdaf3d6.tar.bz2
Remove nginx::cert, ssl module does the job
-rw-r--r--manifests/cert.pp18
1 files changed, 0 insertions, 18 deletions
diff --git a/manifests/cert.pp b/manifests/cert.pp
deleted file mode 100644
index 28906f0..0000000
--- a/manifests/cert.pp
+++ /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"] ],
- }
-}