aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions/conf/nginx.pp2
-rw-r--r--functions/conf/nginx/location.pp1
2 files changed, 3 insertions, 0 deletions
diff --git a/functions/conf/nginx.pp b/functions/conf/nginx.pp
index aa5f30e..f8e6123 100644
--- a/functions/conf/nginx.pp
+++ b/functions/conf/nginx.pp
@@ -1,3 +1,5 @@
+# Returns a hash to be merged into a nginx::resource::server resources
+# parameters. The cert_name parameter should be the name of the domain in question, and NOT the local certificate name.
function letsencrypt::conf::nginx (
String $cert_name,
) >> Letsencrypt::Ssl_conf::Nginx {
diff --git a/functions/conf/nginx/location.pp b/functions/conf/nginx/location.pp
index 84d0e82..a787013 100644
--- a/functions/conf/nginx/location.pp
+++ b/functions/conf/nginx/location.pp
@@ -1,3 +1,4 @@
+# Returns a hash to be merged into a nginx::resource::location resource.
function letsencrypt::conf::nginx::location (
String $cert_name,
) >> Letsencrypt::Ssl_conf::Nginx::Location {