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

[5.3.0] Sensitive[Deferred] will not work for org and activationkey settings #148

Open
tuxmaster5000 opened this issue Jun 18, 2024 · 1 comment

Comments

@tuxmaster5000
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 7
  • Ruby:
  • Distribution: RHEL based
  • Module version: 5.3.0

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

class { 'rhsm':
        org            => Sensitive(Deferred(<Function>,[<Options>])),
        activationkey  => Sensitive(Deferred(<Function>,[<Options>])),      
      }

What are you seeing

Error:

parameter 'org' expects a value of type Undef or String, got Sensitive[Deferred]
parameter 'activationkey' expects a value of type Undef or String, got Sensitive[Deferred]

What behaviour did you expect instead

Working code

Output log

Any additional information you'd like to impart

@ianc769
Copy link

ianc769 commented Nov 14, 2024

Would like to see this for user and pass too

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Rhsm]:
  parameter 'rh_user' expects a value of type Undef or String, got Sensitive
  parameter 'rh_password' expects a value of type Undef or String, got Sensitive

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

2 participants