Skip to content

Allow reapply yaml config via env#14100

Merged
murrant merged 1 commit intolibrenms:masterfrom
murrant:reapply-yaml-config
Jul 9, 2022
Merged

Allow reapply yaml config via env#14100
murrant merged 1 commit intolibrenms:masterfrom
murrant:reapply-yaml-config

Conversation

@murrant
Copy link
Copy Markdown
Member

@murrant murrant commented Jul 9, 2022

REAPPLY_YAML_CONFIG=1

This will overwrite all settings set in yaml files.

Mostly intended for container based deployments

Please note

Please read this information carefully. You can run ./lnms dev:check to check your code before submitting.

  • Have you followed our code guidelines?
  • If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
  • If my Pull Request makes discovery/polling/yaml changes, I have added/updated test data.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926
After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

REAPPLY_YAML_CONFIG=1

This will overwrite all settings set in yaml files.
@murrant murrant merged commit a598b52 into librenms:master Jul 9, 2022
@murrant murrant deleted the reapply-yaml-config branch July 9, 2022 14:32
@librenms-bot
Copy link
Copy Markdown

This pull request has been mentioned on LibreNMS Community. There might be relevant details there:

https://community.librenms.org/t/22-7-0-changelog/19213/1

Npeca75 pushed a commit to Npeca75/librenms that referenced this pull request Jul 25, 2022
REAPPLY_YAML_CONFIG=1

This will overwrite all settings set in yaml files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants