puppet-debugger
puppet-debugger copied to clipboard
node requests rule
In order to allow node data requests you need to alter your auth.conf file and restart your puppet master.
{
"allow" : "$1",
"match-request" : {
"method" : "get",
"path" : "^/puppet/v3/node/([^/]+)$",
"query-params" : {},
"type" : "regex"
},
"name" : "puppetlabs node",
"sort-order" : 500
}
Change "allow" : "$1" to "allow" : "*"
or add a new rule with whitelisted names
{
"allow" : ["puppetdev.localdomain", "$1"],
"match-request" : {
"method" : "get",
"path" : "^/puppet/v3/node/([^/]+)$",
"query-params" : {},
"type" : "regex"
},
"name" : "puppetlabs node",
"sort-order" : 500
}
Please note that you must restart your puppetserver. If not using puppetserver a similar auth.conf change is needed for older puppet masters.
Change "allow" : "$1" to "allow" : "*"
or add a new rule with whitelisted names
{
"allow" : "puppetdev.localdomain",
"match-request" : {
"method" : "get",
"path" : "^/puppet/v3/node/([^/]+)$",
"query-params" : {},
"type" : "regex"
},
"name" : "puppetlabs node",
"sort-order" : 500
}