Closed maccadia closed 5 years ago
@MAccadia Thank you for your contribution, Please test the changes also on RedHat based distribution.
We can not accept a changed for only a part of the functionality provided in the Role.
I don't have any experience on RedHat systems. If you look at the code, I think the only reason this PR would fail on RedHat is if the path /etc/icingaweb2/config.ini is different. From what I've seen in the rpm package, it is the same path. Do you really think a test is needed ?
The 2 tasks relative to the setup token for IcingaWeb2 only need to be ran during installation process. Once IcingaWeb2 is configured (i.e. when
/etc/icingaweb2/config.ini
exists), it's safe to skip these tasks.:warning: this PR conflicts with PR #78 but include PR #78 suggested improvement. :warning: this PR hasn't been tested on RedHat