Feature #12451
Update icingaweb2 DB initialization code wrt. upstream changes
Start date:
2017-04-16
Due date:
% Done:
0%
Description
I’ve upgraded the Puppet module and manifests/initialize.pp
seems to now do stuff we used to do ourselves with puppet-tails:files/monitoring/icingaweb2/scripts/install_icingaweb2_database
. Likely we can drop some of our custom code :)
Subtasks
Related issues
Related to Tails - Feature #16173: Upgrade the icingaweb2 Puppet module | Confirmed | 2018-11-29 |
History
#1 Updated by intrigeri 2018-11-29 22:06:26
- related to Feature #16173: Upgrade the icingaweb2 Puppet module added
#2 Updated by intrigeri 2019-02-10 09:12:28
- Assignee deleted (
bertagaz)
(There’s no reason why bertagaz has to do this work, so assigning to him was somewhat unfair: the improvement suggested here was not possible when he delivered our monitoring infra. Still, it would be nice to have :)
#3 Updated by intrigeri 2019-02-10 13:22:47
There are a few possible ways to handle this:
mysql::db
’ssql
parameter, onceFeature #15513is done forecours
; but it needs to first concatenate the schema file with a template-generated custom one- use upstream’s
icingaweb2::initialize
, as suggested initially here - Only create an empty database and let Icingaweb2 do the rest (https://bugs.debian.org/831532): we don’t seem to manage our admin users with Puppet anyway, so if all our custom code is doing is creating a default “icingaadmin” user that we won’t use, maybe it’s not worth the hassle.