Commit Graph

384 Commits

Author SHA1 Message Date
fnux 25406ea3a0
__matrix_synapse: add support for Ubuntu 2021-11-30 13:32:03 +01:00
fnux fc6764be44
__matrix_synapse_worker: change synapse call to fit matrix.org packaging 2021-11-16 15:13:16 +01:00
fnux 18f02e24aa
__matrix_synapse: use upstream matrix.org APT repository on debian 2021-11-16 14:16:37 +01:00
evilham 1af7e960fa [__single_binary_service] Many improvements + runit support
Amongst other things compressed files can be of a type other than .tar.gz (it
remains the default) and we now properly support runit services, FreeBSD and
Devuan.
2021-10-30 15:38:26 +02:00
evilham 2038244ec4 [__runit*] Add support for Debian/Devuan
Apparently these types were only supporting FreeBSD, this brings in support for
Debian and Devuan by taking advantage of
https://packages.debian.org/bullseye/runit-run
2021-10-30 10:40:01 +02:00
evilham 30c72c1033 [__jitsi_meet] Fix shellchek of unused variable 2021-10-01 12:00:50 +02:00
evilham affd398cff [__jitsi*] Update to 2.0.6293 2021-10-01 11:51:50 +02:00
sparrowhawk c64997d8fb
__bird_ospf: add stubnets option
This commit adds the ability for the bird OSPF type to use stubnets.
2021-09-15 17:00:33 +02:00
evilham 3e77fbbb43 [__single_binary_service] Do not use echo echo echo 2021-08-04 21:02:37 +02:00
evilham afa48b1028 [__single_binary_service] Support customisation of systemd units
Requested by pedro
2021-08-04 21:00:52 +02:00
evilham c5929f397d [__single_binary_service] Adapt bug fixes proposed by pedro
there are several typos, some style issues and now there is at most one service
restart in all cases.

Submitted by:   pedro <git2021@cas.cat>
2021-08-04 20:27:08 +02:00
sparrowhawk 58ac59edb2 Merge branch 'nginx' into 'master'
nginx types

See merge request ungleich-public/cdist-contrib!40
2021-07-06 16:56:29 +02:00
fnux 735a1dddca
__nginx: add minimal usage example 2021-07-06 16:43:52 +02:00
fnux 653c85e948
__nginx_vhost: complete truncated sentence in manpage 2021-07-06 16:43:16 +02:00
fnux 080197e60c Merge branch 'newtype/networktime' into 'master'
Add __networktime type.

See merge request ungleich-public/cdist-contrib!42
2021-07-06 15:47:15 +02:00
sparrowhawk 55d832851d
Add __networktime type. 2021-07-06 14:44:07 +02:00
fnux f116272f92
__nginx_vhost: drop mention of unsupported FreeBSD from manpage 2021-06-23 10:47:21 +02:00
fnux 502cb54ce2
__nginx_vhost: make configuration reload more robust 2021-06-23 10:46:10 +02:00
fnux 8db890deb4
Unbrand nginx types from e-Durable 2021-06-22 13:50:48 +02:00
fnux 41cf480b25
Import nginx types from e-Durable's cdist repositories 2021-06-22 13:46:32 +02:00
evilham d5b552ddb4 [__single_binary_service] Add manpage, config-file and better absent
With these changes the type is good for general consumption (modulo the
limitations mentioned in the manpage under TODO).
2021-06-18 22:01:45 +02:00
evilham 51d0b817fe [__single_binary_service] Type to manage very simple services. 2021-06-18 20:52:58 +02:00
sparrowhawk af66c7e753 Merge branch 'newtype/wireguard' into 'master'
Add types to create wireguard VPN.

See merge request ungleich-public/cdist-contrib!14
2021-06-09 16:37:06 +02:00
sparrowhawk 87c43b042d newtype: __wireguard. 2021-06-09 16:37:05 +02:00
sparrowhawk 2f4c92803b
[__bird_core]: make configuration file depend on bird being installed.
This is required for correct file ownership upon a clean installation.
2021-06-08 18:52:03 +02:00
sparrowhawk c6474593df Merge branch 'newtype/opendkim' into 'master'
New type: __opendkim
New type: __opendkim_genkey

See merge request ungleich-public/cdist-contrib!37
2021-05-31 11:25:31 +02:00
sparrowhawk bcf88606ea Implement __opendkim and __opendkim_genkey type. 2021-05-31 11:25:29 +02:00
evilham 05f2bd394c Merge branch 'fix_jitsi_user_manifest' into 'master'
[__jitsi_meet_user] adds user validation and directory creation

Closes #7

See merge request ungleich-public/cdist-contrib!35
2021-05-23 19:15:14 +02:00
pedro b07ac7a732 [__jitsi_meet_user] refactor user validation
improve user validation and the corresponding docs

coauthored with evilham :D
2021-05-23 19:15:14 +02:00
evilham 8245f8f0c7 Merge branch '9_fix_multidomain' into 'master'
[__jitsi_meet_domain] fixes #9 multidomain error

Closes #9

See merge request ungleich-public/cdist-contrib!38
2021-05-23 18:33:55 +02:00
evilham 725c272e81 Merge branch '8-jitsi-meet-nginx-hash-bucket' into 'master'
[__jitsi_meet*] Relocate hash_bucket_size nginx directive

Closes #8

See merge request ungleich-public/cdist-contrib!39
2021-05-23 18:33:06 +02:00
evilham b26657426d Merge branch '6_jitsi_welcome_logo' into 'master'
[__jitsi_meet_domain] fixes #6 welcome logo

Closes #6

See merge request ungleich-public/cdist-contrib!31
2021-05-23 18:31:08 +02:00
pedro e4396500a7 [__jitsi_meet_domain] fixes #6 welcome logo
the approach is to include a new template for the interface_config.js which
will allow to add other customizations to come
2021-05-23 18:31:08 +02:00
evilham d4f303c64b [__jitsi_meet*] Relocate hash_bucket_size nginx directive
This was causing issues in multi-domain scenarios where it'd get duplicated.

Fixes #8
2021-05-23 11:45:54 +02:00
pedro 0612483115 [__jitsi_meet_domain] fixes #9 multidomain error 2021-05-21 03:26:50 +02:00
fnux 916862f7ab Merge branch 'unbound-ng' into 'master'
__unbound: create more generalized type.

See merge request ungleich-public/cdist-contrib!36
2021-05-14 08:32:26 +02:00
sparrowhawk 6eab68f081
__unbound: add missing functionality. 2021-05-12 14:48:57 +02:00
sparrowhawk a7d51bee35
__unbound: update examples. 2021-05-12 14:21:03 +02:00
sparrowhawk a3e59377df
__unbound: create more generalized type. 2021-05-12 12:33:21 +02:00
sparrowhawk 5d1c9ff1d8
Fix indentation in __bird_static. 2021-05-12 12:32:39 +02:00
sparrowhawk c4a881140c Merge branch 'newtype/bird-radv' into 'master'
Add __bird_radv type.

See merge request ungleich-public/cdist-contrib!33
2021-05-11 15:03:01 +02:00
sparrowhawk f16e452881
Add __bird_radv type. 2021-05-11 14:49:15 +02:00
evilham fbdcd8d6fc [__jitsi_meet*] Improve documentation
Also improve __jitsi_meet_user's support for removing users in that a password
is not required to remove them.
2021-05-10 17:04:44 +02:00
evilham a90c8b18e5 Merge branch 'jitsi_secured_domains' into 'master'
See merge request ungleich-public/cdist-contrib!34
2021-05-10 16:40:47 +02:00
pedro 87bc766115 [__jitsi_meet*] Add parameters for secure domains
This is done with slight adaptations from the official guide at
https://jitsi.github.io/handbook/docs/devops-guide/secure-domain

Amongst other changes, we rely on Prosody's configuration parser only overwriting the parts of a VirtualHost that are explicitly specified in "later appearing" (lexicographically speaking) files.
This allows us to let Jitsi manage the main config file and adding the few customisations on top of it.
We also use the Plaintext authenticator as this is enough atm and is the easiest to manage in an idempotent fashion; support for other authentication mechanisms is possible, see Prosody's documentation for that.
2021-05-10 16:40:46 +02:00
evilham ccd3f364e4 [__jitsi_meet_domain] Support passing the branded index in stdin 2021-05-10 12:55:12 +02:00
evilham 9de330a945 Merge branch 'jitsi-fix-versioning' into 'master'
[__jitsi_meet] Update to 2.0.5765, add versioning parameter.

See merge request ungleich-public/cdist-contrib!32
2021-05-10 12:21:58 +02:00
evilham 2a97346979 [__jitsi_meet] Update to 2.3, add versioning parameter.
Jitsi's repositories have rotated keys, this removes the previous key if
necessary and ensures the new key is present.

Can't be merged until following lands:
  https://code.ungleich.ch/ungleich-public/cdist/-/merge_requests/994
since we rely on `--use-deprecated-apt-key` and the improvements in the type to
modify the keyring in a reliable fashion.

This also updates the exporter to version 1.1.5 released on April 25th 2021.
2021-05-10 12:21:57 +02:00
sparrowhawk 92d5753414
__jool: make __start_on_boot depend on package. 2021-05-07 17:54:31 +02:00
sparrowhawk cbc91a500f
__bird_static: update to use `channel` param instead of `ipv4` switch. 2021-05-07 17:54:10 +02:00