-
-
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
Reset potentially inherited defaults (since the mode is not always sp… #834
base: master
Are you sure you want to change the base?
Conversation
…ecified in below items, for example "${elasticsearch::homedir}/lib" )
Thanks @alexfouche. My concern here is that "fixing" resource defaults that occur above the elasticsearch module essentially means that the module is now attempting to proactively fix what the user is setting as resource defaults, and that is essentially unbounded. I'm definitely willing to consider the change, but it feels like this is less of a change the module needs to make and more of a tweak to the Puppet manifest that is making very broad resource defaults that impact other modules (for example, this module only uses resource defaults within the scope of resources it manages). |
Hi,
In fact, the fix is simply due to the fact that there is an item in this
file to manage "${elasticsearch::homedir}/lib", which specifies owner and
group to root, but does not specify a mode which is open to anyone,
especially the $elasticsearch::elasticsearch_group
Other ressources there may not specify the mode, but at least the user or
group is set for Elasticsearch, which can have after all keep access.
So an alternate fix could simply be sure that the mode is specified there,
but the recurse makes it not ideal
"${elasticsearch::homedir}/lib":
ensure => 'directory',
group => '0',
owner => 'root',
recurse => true;
|
While I agree with you that the recurse => true,
mode => 'o+Xr', That should the directory is |
Hi there, Firstly, thank you for taking the time to contribute, and apologies for the radio silence from Elastic on this PR. I'm going to be working on this module over the next few weeks, with an ultimate aim of updating the module to support the elasticsearch 7.x and simplifying the module to make it easier to use. I'll be reviewing all the open issues and PRs over the next few days, and will merge or provide feedback where appropriate. So please hang in there whilst we give this module some TLC. Thanks again. |
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? |
Dear @alexfouche, thanks for the PR! This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs? |
Dear @alexfouche, thanks for the PR! This is Vox Pupuli Tasks, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
Reset potentially inherited defaults (since the mode is not always specified in below items
For example "${elasticsearch::homedir}/lib" was stripped of 'other' permissions, so my Elasticsearch was unable to start