diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-12 17:44:32 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-06-12 17:44:32 +0200 |
commit | f8712ca211575bdaf2e373847484b97595d754a3 (patch) | |
tree | a4b74ec53ce8f51d322e8931c7e83f8be40c1f22 /types | |
parent | Formatting cleanup. (diff) | |
download | hugonikanor-letsencrypt-f8712ca211575bdaf2e373847484b97595d754a3.tar.gz hugonikanor-letsencrypt-f8712ca211575bdaf2e373847484b97595d754a3.tar.xz |
Add apache authenticator.
Diffstat (limited to 'types')
-rw-r--r-- | types/authenticator.pp | 8 | ||||
-rw-r--r-- | types/ssl_conf/apache.pp | 12 |
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, + }], +] |