summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"] ],
- }
-}