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

Dealing with "big" update #25

Open
psmiraglia opened this issue Jun 21, 2017 · 7 comments
Open

Dealing with "big" update #25

psmiraglia opened this issue Jun 21, 2017 · 7 comments

Comments

@psmiraglia
Copy link
Member

In the current status, the formula results to be a bit outdated (e.g. old DEB repository) and uses a monolithic approach (a single init state that installs and configures everything).

Recently I had to install the latest version of logstash (5.4.x) and this formula resulted to be not usable, so I had to rewrite it in a "modern" way. Here the repo

https://github.com/psmiraglia/logstash-formula

In this case, where a massive update could be usefull for the community, how to deal with PR? I mean, is considered licit a PR that totally rewrite the formula?

@johnkeates
Copy link

I too have a much better formula for this, it's not had any maintenance for a year or so, but we should indeed update this formula.

https://github.com/johnkeates/logstash-formula

I think we can do a total rewrite as long as calling init still does "everything". Configuration-wise, we should probably not destroy the current pillar format. We can add stuff, so we could use a key for non-logstash configurations (i.e. sysconfig and defaults) so that it doesn't interfere with the logstash config itself.

Maybe I can PR yours or you can PR mine and then we PR the result here.

@psmiraglia
Copy link
Member Author

psmiraglia commented Jun 22, 2017

It sounds good...

Since your formula is an enhanced fork of the original one (while mine was defined from the scratch), I think PRing you with my stuff is the "natural" flow.

How to deal with input/filter/output configurations? Should we maintain the original approach (pillar data translated in LS directive/syntax)? Is it really needed? Is it a sustainable solution?

@psmiraglia
Copy link
Member Author

Here the PR with my features (johnkeates#1)

@psmiraglia
Copy link
Member Author

Hey @johnkeates, any news about the PR?

@johnkeates
Copy link

Yeah, sorry about that, lots of GitHub notifications and so little time... I'll sort it out today/tomorrow!

@absmith82
Copy link
Contributor

also addressed with PR#29

@absmith82
Copy link
Contributor

I will gladly remove MY pr however for a merge of PR johnkeates#1

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

No branches or pull requests

3 participants