updating site.pp with trusted facts

This commit is contained in:
christopher.lawrence 2020-01-29 14:37:05 +00:00
parent 70a69a4c67
commit f1a39a62c7
2 changed files with 13 additions and 4 deletions

View File

@ -30,8 +30,17 @@ node 'puppet' {
}
node 'default' {
include role::node
node default {
if $trusted['extentions']['pp_role'] {
include ($trusted['extentions']['pp_role'])
} else {
include role::node
}
}
#node 'default' {
# include role::node
#}

View File

@ -15,7 +15,7 @@ class profile::puppet::authority {
'loglevel' => 'INFO',
},
'jwt_token' => {
'secret' => 'puppet',
'secret' => 'koHc5pzVSVpJhijthem3zT8WXN8=',
'validity' => '0',
}
},