Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Humio.java isn't in the requirements.yml #40

Open
jamesmckibbenathrb opened this issue May 12, 2021 · 4 comments
Open

Humio.java isn't in the requirements.yml #40

jamesmckibbenathrb opened this issue May 12, 2021 · 4 comments

Comments

@jamesmckibbenathrb
Copy link

The requirements.yml doesn't specify a 'humio.java' version to update to, and, it seems ansible when you process the requirements.yml doesn't grab the dependencies.

It seems the current dependency for humio.java is '0.6.0' and I had '0.5.0' cached.

So I edited the requirements.yml to have this addition:

- src: humio.java
version: 0.6.0

Afterwards, I ran:
ansible-galaxy install -r requirements.yml --force

It was then that the package was cached and ready for deployment/use.

Please add this and update as necessary, thank you!
#39

@srdo
Copy link
Contributor

srdo commented May 12, 2021

I think this is fixed by changing our documentation to recommend --force-with-deps instead of --force.

See https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html#cmdoption-ansible-galaxy-collection-install-force-with-deps

Installing humio.java 0.5.0, then doing --force-with-deps on the bare_metal demo will upgrade the local humio.java version to 0.6.0.

@srdo
Copy link
Contributor

srdo commented May 12, 2021

@schofield What do you think?

@schofield
Copy link
Contributor

@srdo We do mention it in the README for bare_metal, but we may need to update some other documentation to make this clearer.

Since the other roles require humio.java I don't think we need to include it in the requirements for the this repo.

@srdo
Copy link
Contributor

srdo commented May 17, 2021

@schofield You're right. I think the docs were out of date though, see https://github.com/humio/docs.humio.com/pull/1027

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants