-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathrequest.pp
38 lines (38 loc) · 978 Bytes
/
request.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Does all the necessary things to be able to request a certificate
# from letsencrypt using the csr created and shipped to the
# dehydrated_host.
#
# @summary Prepare everything to request a certifificate for our CSRs.
#
# @param request_fqdn
# FQDN of the host the triggers the request
#
# @param dn
# DN of the request
#
# @param config
# config for dehydrated for the request
#
# @param dehydrated_host
# Host that run dehydrated
#
# @example
# dehydrated::certificate::request { 'namevar':
# request_fqdn => 'foo.bar.example.com',
# dn => 'domain.bar.example.com',
# config => {},
# dehydrated_host => host.that.runs.dehydrated,
# }
#
# @api private
#
define dehydrated::certificate::request (
Stdlib::Fqdn $request_fqdn,
Dehydrated::DN $dn,
Hash $config,
Stdlib::Fqdn $dehydrated_host,
) {
fail(
'Do not instantiate this define, its only used to create exported ressources, collected from puppetdb'
)
}