aboutsummaryrefslogtreecommitdiff
path: root/types
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 /types
parentFormatting cleanup. (diff)
downloadhugonikanor-letsencrypt-f8712ca211575bdaf2e373847484b97595d754a3.tar.gz
hugonikanor-letsencrypt-f8712ca211575bdaf2e373847484b97595d754a3.tar.xz
Add apache authenticator.
Diffstat (limited to 'types')
-rw-r--r--types/authenticator.pp8
-rw-r--r--types/ssl_conf/apache.pp12
2 files changed, 19 insertions, 1 deletions
diff --git a/types/authenticator.pp b/types/authenticator.pp
index dbd57d5..3e7e534 100644
--- a/types/authenticator.pp
+++ b/types/authenticator.pp
@@ -1,2 +1,8 @@
# @summary Known authenticator types
-type Letsencrypt::Authenticator = Enum['nginx']
+type Letsencrypt::Authenticator = Enum[
+ 'nginx',
+ 'apache',
+ # 'webroot',
+ # 'standalone',
+ # 'dns-rfc2136',
+]
diff --git a/types/ssl_conf/apache.pp b/types/ssl_conf/apache.pp
new file mode 100644
index 0000000..0d21ec3
--- /dev/null
+++ b/types/ssl_conf/apache.pp
@@ -0,0 +1,12 @@
+# @summary SSL configuration hash for Apache
+type Letsencript::Ssl_conf::Apache = Variant[
+ Struct[{
+ ssl => Boolean,
+ }],
+ Struct[{
+ ssl => Boolean,
+ ssl_cert => String,
+ ssl_key => String,
+ ssl_chain => String,
+ }],
+]