diff options
Diffstat (limited to 'manifests/authenticator')
-rw-r--r-- | manifests/authenticator/nginx.pp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/manifests/authenticator/nginx.pp b/manifests/authenticator/nginx.pp new file mode 100644 index 0000000..971c4ed --- /dev/null +++ b/manifests/authenticator/nginx.pp @@ -0,0 +1,22 @@ +# Sets up nginx specific configuration, and provides access to +# variables for enterpolating into nginx configurations +# +# These use the default cert name +# @example +# nginx::resource::server { 'servername': +# * => $letsescrypt::nginx::server_ssl +# } +# $letsencrypt::nginx::location_ssl +# @param certbot_plugin_package +# Name of the system package providing this plugin. +# Populated through hiera. +# @param manage_package +# If this class should manage the package. +class letsencrypt::authenticator::nginx ( + String $certbot_plugin_package, + Boolean $manage_package = true, +) { + if $manage_package { + ensure_packages([$certbot_plugin_package]) + } +} |