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

[For Review] Add Elasticsearch 5.3.3 #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

amanaplan
Copy link
Contributor

@amanaplan amanaplan commented Sep 5, 2017

Submitted for use and review in order to facilitate the ability for developers to begin building and evaluating Elasticsearch as a viable service and solution for some of our downstream projects.

  • Adds Elasticsearch 5.3.3 (mirrors latest release on AWS) as a new service in Precip
  • Removes the defunct Modulefile (deprecated in Puppet 3.x, removed in 4.x) from the precip Puppet module
  • Adds metadata.json to the precip Puppet module

@amanaplan amanaplan changed the title [For Review] Add [For Review] Add Elasticsearch 5.3.3 Sep 5, 2017
Copy link
Member

@jeffgeorge jeffgeorge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See inline changes, I'm fine adding ES, I just want to make sure we do it modularly.


# Install Elasticsearch
# (Allows VM host access and enables CORS for all .vm hosts)
class { 'elasticsearch':
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two stylistic items here:

  1. Two Spaces instead of tabs, please: http://puppet-lint.com/checks/hard_tabs/
  2. Line up arrows under the config element: http://puppet-lint.com/checks/arrow_alignment/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additionally, rather than just adding Elasticsearch by default, I'd like to see it wrapped in a feature-switch. So, new object in config.rb, Vagrantfile and a new Fact, tracking enabled optional things. We can then use the same kind of functionality to optionally provision Solr, or optionally provision PML, or optionally provision in-box theme compilation tools.

I'd also like to see any optional things pulled into their own class in their own Puppet file.

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

Successfully merging this pull request may close these issues.

2 participants