aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-12 17:44:32 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-12 17:44:32 +0200
commitf8712ca211575bdaf2e373847484b97595d754a3 (patch)
treea4b74ec53ce8f51d322e8931c7e83f8be40c1f22 /manifests
parentFormatting cleanup. (diff)
downloadhugonikanor-letsencrypt-f8712ca211575bdaf2e373847484b97595d754a3.tar.gz
hugonikanor-letsencrypt-f8712ca211575bdaf2e373847484b97595d754a3.tar.xz
Add apache authenticator.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/authenticator/apache.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/authenticator/apache.pp b/manifests/authenticator/apache.pp
new file mode 100644
index 0000000..9c9ae46
--- /dev/null
+++ b/manifests/authenticator/apache.pp
@@ -0,0 +1,12 @@
+# @param certbot_plugin_package
+# Name of the package providing the apache authenticator
+# @param manage_package
+# Should the package be managed by us
+class letsencrypt::authenticator::apache (
+ String $certbot_plugin_package,
+ Boolean $manage_package = true,
+) {
+ if $manage_package {
+ ensure_packages([$certbot_plugin_package])
+ }
+}