rundeck-plugins / rundeck-puppetenterprise-nodes-plugin

Get resource node data from Puppet Enterprise
3 stars 9 forks source link

nodeQuery filter fails when using facts_environment #18

Open nosrio opened 1 year ago

nosrio commented 1 year ago

When using the nodeQuery ["=","facts_environment","my_env"]

I get the following error:

[2023-08-30T17:44:42,330] WARN client.DefaultHTTP [NodeService-SourceLoader14] - getFactForAllNodes() ended with status code: 400 msg: 'facts_environment' is not a queryable object for facts. Known queryable objects are 'certname', 'environment', 'name', and 'value'

I think that the problem is that node API and facts API are expecting different queryable object