Commit graph

334 commits

Author SHA1 Message Date
fc6764be44
__matrix_synapse_worker: change synapse call to fit matrix.org packaging 2021-11-16 15:13:16 +01:00
18f02e24aa
__matrix_synapse: use upstream matrix.org APT repository on debian 2021-11-16 14:16:37 +01:00
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
30c72c1033 [__jitsi_meet] Fix shellchek of unused variable 2021-10-01 12:00:50 +02:00
affd398cff [__jitsi*] Update to 2.0.6293 2021-10-01 11:51:50 +02:00
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
58ac59edb2 Merge branch 'nginx' into 'master'
nginx types

See merge request ungleich-public/cdist-contrib!40
2021-07-06 16:56:29 +02:00
735a1dddca
__nginx: add minimal usage example 2021-07-06 16:43:52 +02:00
653c85e948
__nginx_vhost: complete truncated sentence in manpage 2021-07-06 16:43:16 +02:00
55d832851d
Add __networktime type. 2021-07-06 14:44:07 +02:00
f116272f92
__nginx_vhost: drop mention of unsupported FreeBSD from manpage 2021-06-23 10:47:21 +02:00
502cb54ce2
__nginx_vhost: make configuration reload more robust 2021-06-23 10:46:10 +02:00
8db890deb4
Unbrand nginx types from e-Durable 2021-06-22 13:50:48 +02:00
41cf480b25
Import nginx types from e-Durable's cdist repositories 2021-06-22 13:46:32 +02:00
87c43b042d newtype: __wireguard. 2021-06-09 16:37:05 +02:00
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
bcf88606ea Implement __opendkim and __opendkim_genkey type. 2021-05-31 11:25:29 +02:00
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
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
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
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
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
6eab68f081
__unbound: add missing functionality. 2021-05-12 14:48:57 +02:00
a7d51bee35
__unbound: update examples. 2021-05-12 14:21:03 +02:00
a3e59377df
__unbound: create more generalized type. 2021-05-12 12:33:21 +02:00
5d1c9ff1d8
Fix indentation in __bird_static. 2021-05-12 12:32:39 +02:00
f16e452881
Add __bird_radv type. 2021-05-11 14:49:15 +02:00
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
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
ccd3f364e4 [__jitsi_meet_domain] Support passing the branded index in stdin 2021-05-10 12:55:12 +02:00
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
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
92d5753414
__jool: make __start_on_boot depend on package. 2021-05-07 17:54:31 +02:00
cbc91a500f
__bird_static: update to use channel param instead of ipv4 switch. 2021-05-07 17:54:10 +02:00
42a44ffed6 [__jitsi_meet_domain] Stop using deprecated flags 2021-05-07 14:27:52 +02:00
c3dbbc9d0d [__jitsi_meet_domain] Updated version and fixed branding issues
commit 80599bb91a63cef61c00900c97ea89d7ab8cb799
Author: Evilham <cvs@evilham.com>
Date:   Thu Apr 29 20:36:11 2021 +0200

    [__jitsi_meet_video] Fix shellcheck

commit 6d25c36c01ba76a0465f2cc676b8205f09bf1160
Author: pedrolab <531310-pedrolab@users.noreply.gitlab.com>
Date:   Wed Apr 28 22:02:31 2021 +0200

    [__jitsi_meet_domain] config.js to 2.0.5765-1

    thanks @evilham

commit e60a46f8d2124859ce2ea4a6fbe8e7d37deef3d6
Author: pedrolab <531310-pedrolab@users.noreply.gitlab.com>
Date:   Wed Apr 28 22:00:13 2021 +0200

    [__jitsi_meet_domain] fixes #4 branding
2021-04-29 20:43:22 +02:00
6a0647cd90
[__jool]: fail on unkown alpine kernel. 2021-04-21 16:01:24 +02:00
40d19f0ad6
[__jool] Use explorer to determine alpine kernel version. 2021-04-21 15:35:36 +02:00
272e4669fe
Implement __jool type. 2021-04-21 15:35:36 +02:00
f181b5ddb4
Pull updates to __borg_repo from recycled.cloud types. 2021-04-21 15:27:52 +02:00
fnux
ed2f891200 Merge branch 'newtype/pass' into 'master'
Initial implementation of the __pass type.

See merge request ungleich-public/cdist-contrib!19
2021-04-21 08:50:18 +02:00
fnux
af9f718a19 Merge branch 'newtype/bird-xxx' into 'master'
Add bird_xxx types.

See merge request ungleich-public/cdist-contrib!27
2021-04-19 14:06:48 +02:00
3f0798d645 Add bird_xxx types. 2021-04-19 14:06:47 +02:00
2d0491dafd
[__unbound_exporter] fix chicken-egg problem for service start 2021-04-08 17:31:57 +02:00
fnux
16b5158ef5 Merge branch 'uacme' into 'master'
TLS certificates with uacme

See merge request ungleich-public/cdist-contrib!25
2021-03-27 18:18:04 +01:00
73c14825bc
Fix remarks on __uacme_obtain. 2021-03-16 13:04:26 +01:00
f4caa52750
Cleanup renew.sh.sh so the output is more elegant. 2021-03-16 13:03:25 +01:00
5d9bebbdb5
Fix remarks on __uacme_account. 2021-03-16 13:02:51 +01:00
5e2a28d929
Remove -x from renew.sh script to avoid empty cron messages. 2021-03-16 11:04:26 +01:00
fnux
c80d041e1c Merge branch 'wikijs-user' into 'master'
[__wikijs] run under own user

See merge request ungleich-public/cdist-contrib!26
2021-03-08 09:44:42 +01:00
859a156cef
[__wikijs] run under own user 2021-03-01 07:23:47 +01:00
fnux
71c28b9d1f Merge branch '__matrix_synapse' into 'master'
__matrix_synapse types

See merge request ungleich-public/cdist-contrib!9
2021-02-26 08:34:54 +01:00
3263c5dddd
[__matrix_synapse] add outbound-federation-worker parameter 2021-02-24 19:31:48 +01:00
e10ae4d0a7
[__matrix_synapse] Wire parameters for PGSQL pool size 2021-02-24 18:50:01 +01:00
7983e341e5
[__matrix_synapse] fix yet more typos in parameter handling 2021-02-24 17:58:42 +01:00
4e37bc2245
[__matrix_synapse] fix typo in complexity threshold handling 2021-02-24 14:36:00 +01:00
b3f5244cd6
__matrix_synapse: fix SMTP password handling 2021-02-22 13:59:53 +01:00
d589993c6d
[__matrix_synapse] fix typo/error in LDAP configuration handling 2021-02-22 13:12:47 +01:00
f27e65f8e0
[__matrix_synapse*] add --bind-address flag 2021-02-19 11:25:16 +01:00
1370abb991
[__uacme_*] Import from cdist-recycledcloud 2021-02-19 10:44:58 +01:00
f1bab1e23b
[__wikijs] add missing executable bit to initd service 2021-02-19 09:19:24 +01:00
028583f096
[__matrix_synapse_worker] fix config-path parameter in systemd unit 2021-02-18 16:10:04 +01:00
467a1350bf
[__matrix_synapse_worker] bind both v6 and v4, set x_forwarded 2021-02-18 16:03:59 +01:00
f3d8717e69
[__matrix_synapse] fix typo in __apt_backports call 2021-02-18 14:32:41 +01:00
6487839cf5
[__matrix_synapse_worker] various tweaks and fixes following testing 2021-02-18 14:10:19 +01:00
adc335669d
[__matrix_synapse] use __apt_backport instead of __apt_source 2021-02-18 14:09:44 +01:00
12575d661b
[__matrix_synapse] add documentation for --registration-shared-secret 2021-02-18 14:09:33 +01:00
e8b0ced1b1
[__matrix_synapse] various configuration fixes 2021-02-18 11:27:34 +01:00
c84831331e
[__matrix_synapse_worker] add forgotten variable export 2021-02-17 14:02:02 +01:00
33bf0fd416
[__matrix_synapse] wire TLS certs, fix some templating errors 2021-02-17 14:01:06 +01:00
37762dd1ca
[__matrix_synapse_worker] initial implementation 2021-02-17 10:52:29 +01:00
2bcc815555
[__matrix_synapse] wire up worker mode 2021-02-17 10:15:01 +01:00
a1ad30f0c5
[__matrix_synapse] refresh manpage, fix various parameter handling issues 2021-02-17 09:44:50 +01:00
5b70dbd3e9
__matrix_synapse: refresh configuration template and type parameters 2021-02-15 18:50:12 +01:00
2d5b32db1c
Wrap gencode-local in a heredoc. 2021-02-13 15:45:26 +01:00
Nico Schottelius
f6d79e91ff [__unbound] Add missing dns64-prefix parameter 2021-02-12 14:09:31 +01:00
25849bbda1
__matrix_synapse: use dash instead of underscore in parameter names 2021-02-12 09:58:48 +01:00
ce09c402b1
__matrix_synapse: make shellcheck happy! 2021-02-11 16:17:09 +01:00
8a27e5ef22
Import __matrix_synapse type from ungleich's dot-cdist 2021-02-11 16:17:08 +01:00
fnux
0437d9b9dd Merge branch 'nextcloud' into 'master'
__nextcloud types

See merge request ungleich-public/cdist-contrib!18
2021-02-10 10:23:29 +01:00
7b892e1332 [__jitsi_meet] Upgrade prometheus jitsi exporter to 1.1.3
This also fixes a typo in the URL that resulted in the exporter not being
installed '-.-.
2021-02-06 20:36:57 +01:00
fnux
75d901c8e4 Merge branch 'jitsi' into 'master'
Jitsi Meet (and runit) types

See merge request ungleich-public/cdist-contrib!21
2021-01-27 21:04:42 +01:00
0d431d086c
Split initializing the password store from generating passwords. 2021-01-27 16:06:28 +01:00
fnux
1a4e95c821 Merge branch 'unbound-nodns64' into 'master'
Allow non-dns64 unbound setup, normalize unbound type parameters

See merge request ungleich-public/cdist-contrib!20
2021-01-25 07:36:58 +01:00
fnux
fd55a6e8dc Merge branch 'fix/__matrix_element/tarball' into 'master'
__matrix_element: fix download tarball name

See merge request ungleich-public/cdist-contrib!23
2021-01-25 07:24:53 +01:00
b2b2add4c6 __matrix_element: fix download tarball name
All releases after 1.7.14 have a diffrent tarball name than releases
before this. This finally takes over the new name.

The version comparement function was taken from __sensible_editor, to
provide backward compatibility to older versions (if someone needs it).

Maybe this logic can be removed in a while ..
2021-01-24 09:25:02 +01:00
87d4c33e26
Make shellcheck happy with the __jitsi_* types 2021-01-13 08:54:28 +01:00
a1620e8221
__jitsi_meet: remove forgotten/invalid requirement 2021-01-12 16:32:29 +01:00
8929c566fc
__wikijs: remove uneeded npm install call
See https://github.com/Requarks/wiki/issues/1325.
2021-01-12 08:37:20 +01:00
7122fe1bee
__wikijs: add version management and HTTP(S) port configuration 2021-01-12 07:58:42 +01:00
647833580d
Split out service management from the installation type. 2021-01-12 07:58:42 +01:00
ef748cf8e2
Fix typo and drop use of useless tempdir. 2021-01-12 07:58:42 +01:00
0e4bc443e2
Add a type for wikijs. 2021-01-12 07:58:42 +01:00
fnux
bf90e55137 Merge branch 'master' into 'dma-type'
# Conflicts:
#   scripts/run-shellcheck.sh
2021-01-12 07:10:10 +01:00
ac63762653
'unbrand' evilham's runit types 2021-01-11 14:18:41 +01:00
367cbde75b
Import evilham's runit types as it 2021-01-11 14:18:41 +01:00
d3bf8512ec
'unbrand' evilham's jitsi types 2021-01-11 14:18:41 +01:00
f055527735
Import evilham's jitsi types as-it 2021-01-11 14:18:41 +01:00
Dennis Camera
f9f5c578f7 [type/__dma*] Fix shellcheck errors 2021-01-11 12:16:09 +01:00