aboutsummaryrefslogtreecommitdiff
path: root/manifests/authenticator/nginx.pp
blob: ec5850eb0c56465faff1650aaf175fcdb862c948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Sets up nginx specific configuration, and provides access to
# variables for enterpolating into nginx configurations
#
# These use the default cert name
# @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])
  }
}