fix error
This commit is contained in:
@@ -28,7 +28,7 @@ class ausgaben::compose (
|
|||||||
Optional[String] $secret_key = undef,
|
Optional[String] $secret_key = undef,
|
||||||
) {
|
) {
|
||||||
$_secret_key = $secret_key ? {
|
$_secret_key = $secret_key ? {
|
||||||
undef => String(fqdn_rand(2**63, 'ausgaben_secret')),
|
undef => sha256("ausgaben-${trusted['certname']}"),
|
||||||
default => $secret_key,
|
default => $secret_key,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user