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

[DOC] Updating exemple for version lookup #578

Merged

Conversation

kirby0025
Copy link
Contributor

After an upgrade or a fresh install of the component, I started having errors about server_url setting not defined for the lookup. I realized the documentation was not up-to-date with the lookup's arguments.

Pull request type

Please check the type of change your PR introduces:

  • [X ] Documentation content changes

What is the current behavior?

Current exemple reflects the old behaviour of the lookup where server_url was only one field.

Old working exemple :
cmk_agent_version: "{{ lookup('checkmk.general.version', cmk_url+cmk_site, automation_user='automation', automation_secret=cmk_automation_password)}}"

What is the new behavior?

New exemple reflects the actual behaviour of the lookup.

New working exemple :
cmk_agent_version: "{{ lookup('checkmk.general.version', server_url=cmk_url, site=cmk_site, automation_user='automation', automation_secret=cmk_automation_password)}}"

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Mar 12, 2024
Copy link

github-actions bot commented Mar 12, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@kirby0025
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA or my organization already has a signed CLA.

@robin-checkmk robin-checkmk self-assigned this Mar 13, 2024
@robin-checkmk robin-checkmk removed the request for review from lgetwan March 13, 2024 18:26
@robin-checkmk robin-checkmk added the release:4.4.0 Affects the mentioned release. label Mar 13, 2024
@robin-checkmk
Copy link
Member

Nice catch, thanks @kirby0025!
I will merge this, and it will be included in the next release.

@robin-checkmk robin-checkmk merged commit 2c8fc59 into Checkmk:devel Mar 13, 2024
25 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation release:4.4.0 Affects the mentioned release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants