-
Notifications
You must be signed in to change notification settings - Fork 41
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
Resolve conflicting sources.list file #8
base: master
Are you sure you want to change the base?
Conversation
It looks like the version installed by the tests was Edit: These tests failing is resolved in #9. |
@blbradley With #9 merged, I think tests will pass on this branch. I'm not sure how to get them to run again, though. |
@alexander-bauer Merge master into this, and then push. |
- The current version puts the Kibana repository in `elasticsearch.list`, which conflicts with the [elasticsearch-formula](https://github.com/saltstack-formulas/elasticsearch-formula) - This change lists the source in `kibana.list`
Can you show the error that using this formula and elasticsearch-formula at the same time gives you? I have previously used them together as-is with no problems. |
It wasn't strictly an error, but an ordering problem. If both are installed simultaneously, then every This would be fine if they were able to put two repositories in the same file, but both formulas do so using Although both get installed and configured properly without this change, only one repository is listed at once, so doing upgrades later outside of Salt will fail to retrieve one of them. Also, both states are always listed as changed, which goes against Salt's ideas about being idempotent. |
I'd still need to see the idempotency issue or be able to reproduce it. I chose the same sources file as elasticsearch-formula because I'm not sure that Salt responds well with duplicate Debian source entries. Duplicate entries are a misconfiguration and should be avoided. |
FWIW, I appreciate you bringing up the issue. This is one of those tasks where I made a choice and had to deferred potential issues until they came up. This also brings up another issue: does this formula depend on elasticsearch-formula? @alexander-bauer Please open up a separate issue about the idempotency issue. We can discuss the overall idempotency issue there. |
Quoting from my last comment on #11. What I could do on this PR is to check whether the major Kibana version is 5, and if so, install to the I would call that a non-issue, but it seems like the default for I think the right course of action is then as follows:
Another point to discuss might be to rename the list file in all of these formulas to @blbradley Please let me know your thoughts, now that I'm a bit more educated on this! |
The current version puts the Kibana repository in
elasticsearch.list
, which conflicts with the elasticsearch-formula. This PR moves this repository listing intokibana.list
, where it will still be read byapt
, but does not conflict with the Elasticsearch formula.