Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rhsm_override is not enumerable #118

Open
vchepkov opened this issue Jul 23, 2022 · 0 comments
Open

rhsm_override is not enumerable #118

vchepkov opened this issue Jul 23, 2022 · 0 comments

Comments

@vchepkov
Copy link

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"
  }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant