-
Notifications
You must be signed in to change notification settings - Fork 231
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
Allow Sensitive
data type for secrets
#331
Conversation
puppetdb::database::postgresql is a classthat may have no external impact to Forge modules. puppetdb is a classBreaking changes to this file WILL impact these 6 modules (exact match):Breaking changes to this file MAY impact these 2 modules (near match):puppetdb::server is a classthat may have no external impact to Forge modules. puppetdb::server::database is a classthat may have no external impact to Forge modules. puppetdb::server::read_database is a classthat may have no external impact to Forge modules. puppetdb::server::validate_db is a classthat may have no external impact to Forge modules. puppetdb::server::validate_read_db is a classthat may have no external impact to Forge modules. This module is declared in 33 of 576 indexed public
|
04a5db6
to
263b68b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
263b68b
to
98126d7
Compare
4d0eb7e
to
ecddb2d
Compare
ecddb2d
to
addc3cb
Compare
addc3cb
to
357acd1
Compare
357acd1
to
49256ab
Compare
49256ab
to
86af360
Compare
86af360
to
b978586
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more extra Optional[...]
seems to be present.
Also, while we are improving this, what about making the default Sensitive too in params.pp
?
$foo = Sensitive('bar')
b978586
to
83f29bd
Compare
I removed
I do not see this necessary, as the Default-Value is publicly visible anyway. |
My understanding is that it helps to have Puppet automatically redact secrets in diff, and that at some point only a Sensitive would be accepted in a future major version. That being said, we have default passwords in this module which is not a best practice so maybe this will not happen before a loooong time 😄. I am fine with the PR as it is, so will let other reviewers tell what they think! Thank you! |
Sensitive
data type for secrets
83f29bd
to
530cf93
Compare
530cf93
to
1e72232
Compare
1e72232
to
3eb3849
Compare
No description provided.