messing with the jwt_token syntax
This commit is contained in:
		
							parent
							
								
									b2b70e7660
								
							
						
					
					
						commit
						3020c6328c
					
				@ -1,8 +1,8 @@
 | 
			
		||||
class profile::puppetserver::authority (
 | 
			
		||||
 | 
			
		||||
  String $jwt_secret = 'undef',
 | 
			
		||||
  String "$jwt_secret" = 'undef',
 | 
			
		||||
  String $loglevel   = 'info',
 | 
			
		||||
  Integer $validity  = '0',
 | 
			
		||||
  Integer "$validity"  = '0',
 | 
			
		||||
  String $ensure     = 'latest',
 | 
			
		||||
  Hash $config       = {},
 | 
			
		||||
  Hash $jwt_token    = {},
 | 
			
		||||
@ -22,8 +22,8 @@ class profile::puppetserver::authority (
 | 
			
		||||
        loglevel => $loglevel,
 | 
			
		||||
      },
 | 
			
		||||
      jwt_token => {
 | 
			
		||||
        secret   => $jwt_secret,
 | 
			
		||||
        validity => $validity,
 | 
			
		||||
        secret   => "$jwt_secret",
 | 
			
		||||
        validity => "$validity",
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user