Integers in Lua should not be printed as strings but as Integers !
Rendering of Arrays used ; instead of ,
Additionally with this fix, empty array are now rendered correct.
Fixes #88
There are three commits, which all shall not change the current behaviour:
first add spec tests for prosody::service class, secondly simplify the prosody::service class to not have any statements depending on os facts (these should be managed with hiera).
The third one is the important one, currently service cannot be managed without setting prosody::daemonize to true. But with systemd we like to set daemonize to false (since systemd likes to run prosody in foreground) and ensure the service (eg for
reload on new certificate etc.)
allow ensurance of prosody service with systemd.
At least on Debian bullseye (and probably buster) which both use systemd by default, we should set prosody::manage_service to true. I can do an pull request for that if you wish as soon as this one is merged.
This PR introduces support for Gentoo. As packaged in net-im/prosody
, Prosody uses some path which differ from the ones hardcoded in the module. This PR makes these paths configurable and it introduces the correct defaults for Gentoo.
Additionally, the community modules are packaged for Gentoo and the PR introduces support for that, too.
This is needed to support externalservices options like
https://prosody.im/doc/modules/modexternal_services