diff options
Diffstat (limited to 'types/ssl_conf')
-rw-r--r-- | types/ssl_conf/nginx.pp | 11 | ||||
-rw-r--r-- | types/ssl_conf/nginx/location.pp | 9 |
2 files changed, 20 insertions, 0 deletions
diff --git a/types/ssl_conf/nginx.pp b/types/ssl_conf/nginx.pp new file mode 100644 index 0000000..fb2187d --- /dev/null +++ b/types/ssl_conf/nginx.pp @@ -0,0 +1,11 @@ +type Letsencrypt::Ssl_conf::Nginx = Variant[ + Struct[{ + ssl => Boolean, + }], + Struct[{ + ssl => Boolean, + ssl_redirect => Boolean, + ssl_cert => String, + ssl_key => String, + }], +] diff --git a/types/ssl_conf/nginx/location.pp b/types/ssl_conf/nginx/location.pp new file mode 100644 index 0000000..25941d0 --- /dev/null +++ b/types/ssl_conf/nginx/location.pp @@ -0,0 +1,9 @@ +type Letsencrypt::Ssl_conf::Nginx::Location = Variant[ + Struct[{ + ssl => Boolean, + }], + Struct[{ + ssl => Boolean, + ssl_only => Boolean, + }], +] |