aboutsummaryrefslogtreecommitdiff
path: root/manifests/authenticator/nginx.pp
blob: 971c4ed8309e6cc856377069059c7259412c4e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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])
  }
}