diff options
-rw-r--r-- | manifests/cert.pp | 18 |
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"] ], - } -} |