-
-
Notifications
You must be signed in to change notification settings - Fork 476
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
Accept Puppet-Datatype Sensitive #1119
base: master
Are you sure you want to change the base?
Accept Puppet-Datatype Sensitive #1119
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
💚 CLA has been signed |
0bd130a
to
e81fcf1
Compare
e2858f5
to
f3b6124
Compare
a387f82
to
e135734
Compare
46e5306
to
25fec6d
Compare
thanks for the PR! can you add some tests with sensitive data? |
I would like to. But with this outdated Hiera 3 in use, I won't.
… to retrieve sensitive Strings from Hiera.
|
25fec6d
to
0fe3ae7
Compare
0fe3ae7
to
9180744
Compare
9180744
to
71d7c01
Compare
71d7c01
to
f074118
Compare
c4628ea
to
e3c7304
Compare
8703fc3
to
d379556
Compare
REFERENCE.md
Outdated
@@ -57,8 +57,8 @@ | |||
|
|||
### Data types | |||
|
|||
* [`Elasticsearch::Multipath`](#Elasticsearch--Multipath) | |||
* [`Elasticsearch::Status`](#Elasticsearch--Status) | |||
* [`Elasticsearch::Multipath`](#Elasticsearch--Multipath): @ summary Puppet-Type for Elasticsearch's Multipath |
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.
this isn't rendered correctly
types/multipath.pp
Outdated
@@ -1 +1,3 @@ | |||
# @ summary Puppet-Type for Elasticsearch's Multipath |
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.
# @ summary Puppet-Type for Elasticsearch's Multipath | |
# @summary Puppet-Type for Elasticsearch's Multipath |
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.
As this is not Part of my Pullrequest, please fix it in master
, and I will rebase.
I just wanted to make the Pipeline happy.
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.
you added this change, but the change isn't correct :D
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.
I reverted the non-relevant Changes. But the following also happens in master
:
[warn]: Missing documentation for Puppet type alias 'Elasticsearch::Status' at types/status.pp:1.
[warn]: Missing documentation for Puppet type alias 'Elasticsearch::Multipath' at types/multipath.pp:1.
[…]
1) Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore instances with one instance
Failure/Error: stdout = execute([command(:keystore)] + args, options)
#<Puppet::Type::Elasticsearch_keystore::ProviderElasticsearch_keystore (class)> received :execute with unexpected arguments
expected: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonfai
l=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"})
got: (["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"], {:custom_environment=>{"ES_INCLUDE"=>"/etc/sysconfig/elasticsearch-es-01", "ES_PATH_CONF"=>"/etc/elasticsearch/es-01"}, :failonf
ail=>true, :gid=>"elasticsearch", :uid=>"elasticsearch"})
Diff:
@@ -1,6 +1,6 @@
[["/usr/share/elasticsearch/bin/elasticsearch-keystore", "list"],
{:custom_environment=>
- {"ES_INCLUDE"=>"/etc/default/elasticsearch-es-01",
+ {"ES_INCLUDE"=>"/etc/sysconfig/elasticsearch-es-01",
"ES_PATH_CONF"=>"/etc/elasticsearch/es-01"},
:failonfail=>true,
:gid=>"elasticsearch",
d379556
to
08ba0d1
Compare
- let the Hash containing the Secrets for the Keystore accept Secrets of Datatype Sensitive - fix a 15-Months-old Typo-Bug - let api_basic_auth_password also be of Type Sensitive
08ba0d1
to
abf2dea
Compare
Pull request acceptance prerequisites: