You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's inconsistent. The node_group resource type uses data. The node_group() function uses config_data. I've scenarios where we use the node_group() function to get information about a group, modify it, write it back. This gets a bit complicated when function and resource type aren't consistent.
Expected Behavior
A clear and concise description of what you expected to happen.
Steps to Reproduce
See above.
Environment
PE 2019/2021/2023
puppetlabs/node_manager v1.0.1
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the Bug
From https://www.puppet.com/docs/pe/2023.7/groups_endpoint#get_v1_groups-get-v1-groups-response-format:
The classifier API endpoint
/v1/groups
has different attributes per group. One isconfig_data
. We can verify this on PE 2019/2021/2023:Which gives us:
but:
It's inconsistent. The node_group resource type uses
data
. Thenode_group()
function usesconfig_data
. I've scenarios where we use thenode_group()
function to get information about a group, modify it, write it back. This gets a bit complicated when function and resource type aren't consistent.Expected Behavior
A clear and concise description of what you expected to happen.
Steps to Reproduce
See above.
Environment
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: