updating site.pp with trusted facts
This commit is contained in:
parent
70a69a4c67
commit
f1a39a62c7
@ -30,8 +30,17 @@ node 'puppet' {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
node 'default' {
|
node default {
|
||||||
|
|
||||||
include role::node
|
|
||||||
|
|
||||||
|
if $trusted['extentions']['pp_role'] {
|
||||||
|
include ($trusted['extentions']['pp_role'])
|
||||||
|
} else {
|
||||||
|
include role::node
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#node 'default' {
|
||||||
|
|
||||||
|
# include role::node
|
||||||
|
|
||||||
|
#}
|
||||||
|
@ -15,7 +15,7 @@ class profile::puppet::authority {
|
|||||||
'loglevel' => 'INFO',
|
'loglevel' => 'INFO',
|
||||||
},
|
},
|
||||||
'jwt_token' => {
|
'jwt_token' => {
|
||||||
'secret' => 'puppet',
|
'secret' => 'koHc5pzVSVpJhijthem3zT8WXN8=',
|
||||||
'validity' => '0',
|
'validity' => '0',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user