Commit Graph

204 Commits

Author SHA1 Message Date
fnux ce09c402b1
__matrix_synapse: make shellcheck happy! 2021-02-11 16:17:09 +01:00
fnux 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
evilham 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
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
matze 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
fnux 87d4c33e26
Make shellcheck happy with the __jitsi_* types 2021-01-13 08:54:28 +01:00
fnux a1620e8221
__jitsi_meet: remove forgotten/invalid requirement 2021-01-12 16:32:29 +01:00
fnux 8929c566fc
__wikijs: remove uneeded npm install call
See https://github.com/Requarks/wiki/issues/1325.
2021-01-12 08:37:20 +01:00
fnux 7122fe1bee
__wikijs: add version management and HTTP(S) port configuration 2021-01-12 07:58:42 +01:00
sparrowhawk 647833580d
Split out service management from the installation type. 2021-01-12 07:58:42 +01:00
sparrowhawk ef748cf8e2
Fix typo and drop use of useless tempdir. 2021-01-12 07:58:42 +01:00
sparrowhawk 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
fnux ac63762653
'unbrand' evilham's runit types 2021-01-11 14:18:41 +01:00
fnux 367cbde75b
Import evilham's runit types as it 2021-01-11 14:18:41 +01:00
fnux d3bf8512ec
'unbrand' evilham's jitsi types 2021-01-11 14:18:41 +01:00
fnux 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
fnux 5a05b87beb
__unbound: normalize flag format 2021-01-04 11:45:04 +01:00
fnux 9f4a85901e
Import html/man doc generation logic from upstream cdist 2021-01-04 11:08:55 +01:00
fnux 006987307f
__unbound: make the --dns64-prefix flag optional 2021-01-04 09:43:37 +01:00
matze 73e77f5b4d __nextcloud: add db:convert-filecache-bigint command
Looks like this command should be executed on upgrades, too.
2020-12-25 20:14:04 +01:00
matze 1a233062a5 __nextcloud: harden here-doc for su call
Because the here-doc will be evaluated again by the shell, it will was
changed to avoid this. Because the script does not depend on such
function, it will be done in faviour of special characters.
2020-12-25 11:44:32 +01:00
matze b6db7b5ca8 __nextcloud: suppress global warnings from occ
As it's the default for __nextcloud_app and __nextcloud_user, it will
now suppress global warnings, too. This will be done because nobody
cares about then, only about the errors generated from the executed
command.
2020-12-21 19:04:53 +01:00
matze c89bb59409 __nextcloud: add database maintainer command for upgrades
After my update to 20.0.2, Nextcloud complained about missing primary
key indexes. I don't know if it existed before that version, but
adding it to make life easier .. as no one will propably install an
older version than Nextcloud 20.0.2.
2020-11-20 19:23:40 +01:00
matze c0b3f79229 __nextcloud{,_user}: Updated manpages 2020-11-16 19:32:10 +01:00
Dennis Camera 487574c865 [type/__dma] Convert AWK to loop over same file twice 2020-11-16 14:15:52 +01:00
Dennis Camera 0932c9ccde [type/{__dma,__dma_auth,__mail_alias}] Quote things properly 2020-11-16 14:10:52 +01:00
Dennis Camera 7e20d13b9f [type/__mail_alias] Use explicit line variables in update_aliases.awk 2020-11-16 13:58:05 +01:00
Dennis Camera 04076a75eb [type/__mail_alias] man.rst: Make bugs a list 2020-11-16 13:57:34 +01:00
matze ee650d88ed __nextcloud_{app,user}: Updated man cause of __nextcloud changes
Also, the `gencode-remote` scripts where marked executeable.
2020-11-15 19:14:31 +01:00
matze 3fda91ca2f __nextcloud: add comments about the maintenance mode
... because it not always work like you want it.
2020-11-15 17:40:02 +01:00
matze 32417aba34 __nextcloud: aborts at installation with pgsql/mariadb
Accidentally, there was a check for a parameter that could not exist.
The block is now streamlined as other parameters got handled, too :-)
2020-11-15 16:34:26 +01:00
matze c24aedd4db __nextcloud: remove --webroot parameter
Because the detection of the webroot is not that good, it was removed.
Now, the object id contains the full path of the nextcloud installation.

This changes the installation process a bit, as it will download the
tarball to /tmp rather the webroot.

Also, this commit contains a bit overhaul work.
2020-11-15 16:21:56 +01:00
fnux 2e02c413b6 Merge branch 'netbox' into 'master'
__netbox type

See merge request ungleich-public/cdist-contrib!12
2020-11-04 09:24:18 +01:00
matze 7490cef49e Initial __nextcloud_app type
Overall complete, more functionalitly is currently out of scope.
2020-10-31 16:50:06 +01:00
matze 9ed1a9cbfd __nextcloud_user: fix misspelled quota parameter 2020-10-31 16:25:35 +01:00
matze d0f597b9e4 __nextcloud: added manpage notes
.. and some more.
2020-10-31 14:27:47 +01:00
matze a82a880858 __nextcloud_user: finished manpage 2020-10-31 12:26:36 +01:00
matze 30205b38ae __nextcloud_user: add --quota paramter 2020-10-31 11:44:31 +01:00
matze 82283d0b1c __nextcloud_user: new parameters to prevent changes to the user
This adds new parameters `--only-setup` and `--keep-*` to prevent
certain parameters to be changed in Nextcloud. This will not apply to
the setup.
2020-10-31 09:47:38 +01:00
matze 635f03f527 __nextcloud_user: use `occ group:` commands
Instead of the self-tinkered php code, the correct occ command is used
now.
2020-10-30 20:08:32 +01:00
matze 1e1df1016d __nextcloud_user: add manpage 2020-10-30 20:05:12 +01:00
matze b0ed6b2f18 Initial __nextcloud_user type
This type setup and updates a nextcloud user account. Currently not
finished yet, but should work in all cases.
2020-10-30 19:14:24 +01:00
matze 072ca37720 __nextcloud: stricter check configuration values
This now checks the configuration value exactly and does not say there
are equal if just the end of the string differs.

Resulting from this, it will run code the next run if the default port
was in a database migration. This was fixed by instantly correct this
configuration value.
2020-10-26 19:19:49 +01:00
matze b368102bd5 __nextcloud: misc adjustments
Mostly to the manpage, but some minor fixes, too.
2020-10-25 20:29:57 +01:00
matze 87e115da98 __netbox: some manpage fixes
Mostly invalid links ..
2020-10-25 19:13:10 +01:00