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

Feature Request: Show Announcements in icingaweb2 after upgrade #71

Closed
bebehei opened this issue Jan 7, 2017 · 1 comment
Closed

Feature Request: Show Announcements in icingaweb2 after upgrade #71

bebehei opened this issue Jan 7, 2017 · 1 comment

Comments

@bebehei
Copy link
Contributor

bebehei commented Jan 7, 2017

Currently the image does not update /etc/icingaweb2 and /etc/icinga2 after docker pull and container-restart. So icingaweb2 and icinga2 do not get fresh and neccessary configuration, which might be needed to fix some bugs.

I would propose to add some add "VERSION"-file (e.g. /etc/icingaweb2(.dist)/VERSION), which holds an integer number. And as long the integer of /etc/icingaweb2/VERSIONis less than/etc/icingaweb2.dist/VERSION`, a script creates an announcement in icingaweb2. So we could remind the user to manually merge the new changes.

The announcement would be placed in /etc/icingaweb2/announcements.ini and could be easily added by either just appending via echo/cat or using or using ini_set introduced in #67.

If we add tags on every configuration-change, it would be easily possible to also add an autogenerated link like: https://github.com/jjethwa/icinga2/compare/config-v1...config-v2

screenshot from 2017-01-07 21-31-35

@bebehei
Copy link
Contributor Author

bebehei commented Jan 19, 2018

Fixed in dedbb7c

@bebehei bebehei closed this as completed Jan 19, 2018
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

1 participant