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

Fix "password" as Property #378

Merged
merged 1 commit into from
Sep 27, 2021
Merged

Fix "password" as Property #378

merged 1 commit into from
Sep 27, 2021

Conversation

cocker-cc
Copy link
Contributor

Having password defined with newparam, any Content of Type Sensitive will lead to

Unable to mark 'password' as sensitive: password is a parameter and not a property, and cannot be automatically redacted.

In Fact password (as well as others) should be a Property.
(compare https://puppet.com/docs/puppet/7/custom_types.html#tandp_properties_and_parameters)

Having "password" defined with newparam, any Content of Type Sensitive will lead to
"Unable to mark 'password' as sensitive: password is a parameter and not a property, and cannot be automatically redacted."

In Fact "password" (as well as others) should be a Property.
(compare https://puppet.com/docs/puppet/7/custom_types.html#tandp_properties_and_parameters)
@cocker-cc cocker-cc requested a review from a team as a code owner September 7, 2021 13:20
@puppet-community-rangefinder
Copy link

java_ks is a type

Breaking changes to this file MAY impact these 18 modules (near match):

This module is declared in 6 of 578 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@daianamezdrea
Copy link
Contributor

Hi @cocker-cc, this looks good ! Thank you for opening the PR, cheers !

@daianamezdrea daianamezdrea merged commit 185210f into puppetlabs:main Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants