forked from jlaska/puppet-subscription_manager
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
tried this on RHEL8 and RHEL9 - same effect
# puppet resource rhsm_override
Error: Could not run: No resource and no name in property hash in subscription_manager instance
Also a side note, it seems provider assumes only 'enabled' can be overridden, that's not the case:
# cat /var/lib/rhsm/cache/content_overrides.json | jq -M
[
{
"created": "2022-07-23T12:41:18+0000",
"updated": "2022-07-23T12:41:18+0000",
"name": "enabled",
"contentLabel": "satellite-client-6-for-rhel-9-x86_64-rpms",
"value": "1"
},
{
"created": "2022-07-23T12:56:17+0000",
"updated": "2022-07-23T12:56:17+0000",
"name": "enabled",
"contentLabel": "codeready-builder-for-rhel-9-x86_64-rpms",
"value": "1"
},
{
"created": "2022-07-23T13:15:21+0000",
"updated": "2022-07-23T13:15:21+0000",
"name": "exclude",
"contentLabel": "satellite-client-6-for-rhel-9-x86_64-rpms",
"value": "puppet-agent"
}
]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels