messing with the jwt_token syntax

This commit is contained in:
christopher.lawrence 2020-03-04 14:14:42 +00:00
parent b2b70e7660
commit 3020c6328c

View File

@ -1,8 +1,8 @@
class profile::puppetserver::authority ( class profile::puppetserver::authority (
String $jwt_secret = 'undef', String "$jwt_secret" = 'undef',
String $loglevel = 'info', String $loglevel = 'info',
Integer $validity = '0', Integer "$validity" = '0',
String $ensure = 'latest', String $ensure = 'latest',
Hash $config = {}, Hash $config = {},
Hash $jwt_token = {}, Hash $jwt_token = {},
@ -22,8 +22,8 @@ class profile::puppetserver::authority (
loglevel => $loglevel, loglevel => $loglevel,
}, },
jwt_token => { jwt_token => {
secret => $jwt_secret, secret => "$jwt_secret",
validity => $validity, validity => "$validity",
} }
}, },
} }