Skip to content

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

Open
@PsichoD

Description

@PsichoD

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 7.27
  • Ruby: ruby 3.0.7p220 (2024-04-23 revision 724a071175) [x86_64-linux]
  • Distribution: RedHat 9
  • Module version: v5.3.0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions