Commit graph

69 commits

Author SHA1 Message Date
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
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
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
7490cef49e Initial __nextcloud_app type
Overall complete, more functionalitly is currently out of scope.
2020-10-31 16:50:06 +01:00
9ed1a9cbfd __nextcloud_user: fix misspelled quota parameter 2020-10-31 16:25:35 +01:00
d0f597b9e4 __nextcloud: added manpage notes
.. and some more.
2020-10-31 14:27:47 +01:00
a82a880858 __nextcloud_user: finished manpage 2020-10-31 12:26:36 +01:00
30205b38ae __nextcloud_user: add --quota paramter 2020-10-31 11:44:31 +01:00
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
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
1e1df1016d __nextcloud_user: add manpage 2020-10-30 20:05:12 +01:00
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
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
b368102bd5 __nextcloud: misc adjustments
Mostly to the manpage, but some minor fixes, too.
2020-10-25 20:29:57 +01:00
77b530eefb __nextcloud: update manpage
Added webroot detection, examples and notes. Should be complete now.
2020-10-25 18:57:02 +01:00
809ad7aa9d __nextcloud: migrate if the database type change
This adds a migration progess if the database type changes automaticly.
2020-10-25 14:55:11 +01:00
facb204749 __nextcloud: move data directory if destination changes
The type now handles the case when the data directory will be moved to
an other location. To this, adjustment to the "maintainer mode" on
setting and the manpage.
2020-10-24 21:09:35 +02:00
3bda4cf0c8 __nextcloud: respect installer default values
To do not override default values from the nextcloud installer script,
they are accepted as default values if the user did not set any value.
2020-10-24 17:29:38 +02:00
f5c988c0f2 __nextcloud: make some db parameters mandatory
Some database parameters are required if the type is `mysql` or `pgsql`.
Also, the variants of the parameter --database-type decreased to those
that work with the configuration, as it is directly mapped to the
parameter.

The functions in `map-conf-changes.sh` where extended to support the
conditional mandatory argument to throw an error if this parameter is
set.
2020-10-24 16:46:19 +02:00
b6f4da7692 __nextcloud: completly respect --install-only parameter
This commit changes the manifest to do not check for too low versions
and does not download and unpack a tarball if available if the parameter
--install-only is set. This should make it useable now.

Also, a short message change to match the manual.
2020-10-24 15:39:54 +02:00
ea58f98ecb __nextcloud: added initial manpage
Still somehow a draft ..
2020-10-24 13:36:26 +02:00
3db4dcc6ea __nextcloud: add --data-directory to config 2020-10-24 12:56:06 +02:00
0a0e4d26b4 __nextcloud: fix shellcheck
Mostly simply because of php inline code .. also because of the argument
generation for the installation setup.
2020-10-24 10:10:30 +02:00
979398e398 Initial __nextcloud type
This type should work, but there are still many things to do here to
work nice and well.

Things that currently not work (well):
  - not all parameters work for now
  - nextcloud installations in subfolders (e.g. slashes in the object id)
2020-10-24 09:24:49 +02:00
fnux
ce20c67602 Merge branch 'newtype/borg-repo' into 'master'
Add a type to create a borg repository.

See merge request ungleich-public/cdist-contrib!13
2020-08-12 09:23:07 +02:00
bf5f85068d
Add a type to create a borg repository. 2020-08-07 10:39:38 +02:00
f73bf49e4b Remove manual / outdated CHANGELOG 2020-07-28 14:23:30 +02:00
fnux
521433f875 Merge branch '__matrix_riot' into 'master'
__matrix_element

See merge request ungleich-public/cdist-contrib!10
2020-07-28 14:21:03 +02:00
7eecc99c73 __unbound: fix typo in gencode-remote / service start 2020-07-27 14:53:45 +02:00
fnux
1ff5ad8534 Merge branch 'unbound-local-data' into 'master'
__unbound: add --local_data flag

See merge request ungleich-public/cdist-contrib!11
2020-07-27 14:45:18 +02:00
5960356e7b __unbound: add --local_data flag 2020-07-27 14:37:22 +02:00
e2f01bbb3b __matrix_riot: rename to __matrix_element 2020-07-22 17:14:06 +02:00
fnux
c3a7e62953 Merge branch 'unbound-monitoring' into 'master'
__unbound_exporter: prometheus exporter for unbound

See merge request ungleich-public/cdist-contrib!8
2020-07-20 07:49:43 +02:00
3314612193 __matrix_riot: improve friendship with shellcheck 2020-07-11 09:21:37 +02:00
fnux
10ccc77803 Merge branch '__matterbridge' into 'master'
__matterbridge type

See merge request ungleich-public/cdist-contrib!3
2020-07-11 08:53:54 +02:00
f6a36a60c0 Import __matrix_riot from ungleich's dot-cdist 2020-06-25 11:15:23 +02:00
4ff703e6aa Fine tuning prometheus exporter for unbound 2020-06-07 10:34:35 +02:00
bffc38ad52 __unbound_exporter: make shellcheck happy again 2020-06-07 08:58:14 +02:00
17f6a4dd47 Only shellcheck .sh files in type/*/files/ 2020-06-07 08:57:51 +02:00
d14011c50b Sync CHANGELOG with __unbound* changes 2020-06-07 08:55:47 +02:00
1e45d85d4d Add new __unbound_exporter type 2020-06-07 08:53:56 +02:00
7b9ffb4a41 __unbound: wire remote control configuration 2020-06-07 08:46:18 +02:00
fnux
25e72d7135 Merge branch 'unbound' into 'master'
__unbound type

See merge request ungleich-public/cdist-contrib!7
2020-06-04 17:07:17 +02:00
89f0dc90ea Add changelog entry for __unbound type 2020-06-03 15:09:07 +02:00
3d3a3ef802 Fix shellcheck warnings in newly imported __unbound type 2020-06-03 15:08:04 +02:00
6b38b248e2 Rename __ungleich_unbound into __unbound 2020-06-03 14:59:42 +02:00
3adb5ac4ca Import __ungleich_unbound type for ungleich's dot-cdist 2020-06-03 14:58:43 +02:00
fnux
e4b96ee2a4 Merge branch '__coturn' into 'master'
Import __coturn type from ungleich's dot-cdist

See merge request ungleich-public/cdist-contrib!4
2020-05-16 08:29:08 +02:00
7efa697e5a [__coturn] Make shellcheck happy 2020-05-15 22:26:33 +02:00
61bd5b5958 [__coturn] Add support for common parameters and extra-config.
extra-config allows for any complex setup to be defined and managed by the type
user.
2020-05-15 22:12:52 +02:00