voxpupuli / puppet-rhsm

Puppet module for registering systems with RedHat.
https://forge.puppet.com/puppet/rhsm
Apache License 2.0
6 stars 23 forks source link

rh_subscription executes every time the manifest is applied regardless of the current subscription status. #150

Open PsichoD opened 1 day ago

PsichoD commented 1 day ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

include rhsm
rh_subscription { 'xxxxxxxxxxxxxxxxxxxxx':
  ensure => present,
}

What are you seeing

Notice: /Stage[main]/Profile::Base/Rh_subscription[xxxxxxxxxxxxxxxxxxxxx]/ensure: created (corrective)

What behaviour did you expect instead

Should only be applied when subscription is not enabled.

Output log

Any additional information you'd like to impart

kallies commented 1 day ago

Hello @PsichoD and thanks for reporting this. Is Simple Content Access enabled in your environment? Are you fetching your contents from the Red Hat CDN or from a Red Hat Satellite instance?

PsichoD commented 1 day ago

Hi Lukas,

Yes, the SCA is enabled and I’m getting it from RedHat directly.

Thanks!

On Thu, Nov 21, 2024 at 17:13 Lukas Kallies @.***> wrote:

Hello @PsichoD https://github.com/PsichoD and thanks for reporting this. Is Simple Content Access https://access.redhat.com/articles/simple-content-access enabled in your environment? Are you fetching your contents from the Red Hat CDN or from a Red Hat Satellite instance?

— Reply to this email directly, view it on GitHub https://github.com/voxpupuli/puppet-rhsm/issues/150#issuecomment-2491500430, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGDS65FTSQXZU2S2V6JVJ32BX2CDAVCNFSM6AAAAABSGZNPJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJRGUYDANBTGA . You are receiving this because you were mentioned.Message ID: @.***>