Fix remarks on __uacme_account.
This commit is contained in:
parent
5e2a28d929
commit
5d9bebbdb5
2 changed files with 15 additions and 2 deletions
|
@ -8,8 +8,10 @@ cdist-type__uacme_account - Install uacme and register Let's Encrypt account.
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
This type is used to bootstrap acquiring certificates from the Let's Encrypt
|
This type is used to bootstrap acquiring certificates from the Let's Encrypt
|
||||||
C.A. This type is expected to be used internally, by the `__uacme_obtain`.
|
C.A by creating an account and accepting terms of use. The
|
||||||
|
`cdist-type__uacme_obtain(7)` type instances expect to depend on this type.
|
||||||
|
|
||||||
|
|
||||||
OPTIONAL PARAMETERS
|
OPTIONAL PARAMETERS
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
__package uacme
|
os="$(cat "${__global:?}"/explorer/os)"
|
||||||
|
|
||||||
|
case "$os" in
|
||||||
|
"alpine"|"debian"|"ubuntu")
|
||||||
|
uacme_package=uacme
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "__uacme_account is not yet implemented for os $os. Aborting." >&2;
|
||||||
|
exit 1;
|
||||||
|
esac
|
||||||
|
|
||||||
|
__package $uacme_package
|
||||||
|
|
Loading…
Reference in a new issue