cdist-contrib/type
Evilham ecd10de2d3
[__opendkim*] FreeBSD support and minor fixes
While adding FreeBSD support to the type I noticed various issues:

- We were making sure that the KeyTable and SigningTable were created in
  __opendkim_genkey, but that was being done with the default cdist permissions
  (0400) which could result in issues when reloading the service after privilege
  drop.
  This is addressed by checking that it exists/creating it in __opendkim (just
  once, not once per __opendkim_genkey call) with laxer permissions (0444).
- In __opendkim, the service was being started after the config file was
  installed. This is insufficient as OpenDKIM will refuse to start with the
  generated config if either SigningTable or KeyTable do not exist yet.
- __opendkim_genkey had the implicit assumption that the --directory parameter
  always ended in a slash. This was not documented and error-prone; we are now
  a bit laxer and add the trailing slash if it is missing.
- __opendkim_genkey was not changing permissions for the resulting .txt file.
  This was not critical for it to function, but it was inconsistent.
- As documented in #17, __opendkim allows for a --userid parameter that might
  cause issues with keys generated by __opendkim_genkey.
  This issue has not been addressed yet, but I recommend deprecating the
  --userid parameter.
2022-03-10 20:08:51 +01:00
..
__bird_bgp [bird_bgp]: minor cleanup. 2022-02-07 13:33:57 +01:00
__bird_core [__bird_core]: make configuration file depend on bird being installed. 2021-06-08 18:52:03 +02:00
__bird_filter Add bird_xxx types. 2021-04-19 14:06:47 +02:00
__bird_function Add bird_xxx types. 2021-04-19 14:06:47 +02:00
__bird_kernel Add bird_xxx types. 2021-04-19 14:06:47 +02:00
__bird_ospf __bird_ospf: ass -extra-area-configuration parameter 2022-01-11 16:12:45 +01:00
__bird_radv [bird_radv] Add option to include MTU in RAs. 2022-02-07 13:46:08 +01:00
__bird_static Fix indentation in __bird_static. 2021-05-12 12:32:39 +02:00
__borg_repo borg-repo: add ubuntu as supported OS. 2022-01-11 09:24:43 +01:00
__coturn [__coturn] Make shellcheck happy 2020-05-15 22:26:33 +02:00
__dma [type/__dma*] Fix shellcheck errors 2021-01-11 12:16:09 +01:00
__dma_auth [type/__dma*] Fix shellcheck errors 2021-01-11 12:16:09 +01:00
__find_exec new type: __find_exec 2020-04-28 01:32:40 +03:00
__jitsi_meet [__jitsi*] Update to 2.0.6726 2021-12-22 20:05:37 +01:00
__jitsi_meet_domain [__jitsi*] Update to 2.0.6726 2021-12-22 20:05:37 +01:00
__jitsi_meet_user [__jitsi_meet_user] refactor user validation 2021-05-23 19:15:14 +02:00
__jool __jool: make __start_on_boot depend on package. 2021-05-07 17:54:31 +02:00
__mail_alias [type/{__dma,__dma_auth,__mail_alias}] Quote things properly 2020-11-16 14:10:52 +01:00
__matrix_element __matrix_element: add more branding parameters 2022-01-16 14:14:42 +01:00
__matrix_synapse __matrix_synapse: add --disable-{displayname,3pid}-changes flag 2022-02-08 13:45:29 +01:00
__matrix_synapse_worker __matrix_synapse_worker: change synapse call to fit matrix.org packaging 2021-11-16 15:13:16 +01:00
__matterbridge __matterbridge: add support for ubuntu, fix configuration via STDIN 2021-12-23 12:30:58 +01:00
__netbox Import html/man doc generation logic from upstream cdist 2021-01-04 11:08:55 +01:00
__netbox_gunicorn __netbox*: added systemd socket support 2020-10-11 16:39:19 +02:00
__netbox_uwsgi Import html/man doc generation logic from upstream cdist 2021-01-04 11:08:55 +01:00
__networktime Add __networktime type. 2021-07-06 14:44:07 +02:00
__nextcloud __nextcloud: add db:convert-filecache-bigint command 2020-12-25 20:14:04 +01:00
__nextcloud_app __nextcloud_{app,user}: Updated man cause of __nextcloud changes 2020-11-15 19:14:31 +01:00
__nextcloud_user __nextcloud{,_user}: Updated manpages 2020-11-16 19:32:10 +01:00
__nginx __uacme*, __nginx: allow external ACME provider, EAB authentication 2021-12-14 12:37:18 +01:00
__nginx_vhost __nginx_vhost: complete truncated sentence in manpage 2021-07-06 16:43:16 +02:00
__opendkim [__opendkim*] FreeBSD support and minor fixes 2022-03-10 20:08:51 +01:00
__opendkim_genkey [__opendkim*] FreeBSD support and minor fixes 2022-03-10 20:08:51 +01:00
__pass Wrap gencode-local in a heredoc. 2021-02-13 15:45:26 +01:00
__pass_init Split initializing the password store from generating passwords. 2021-01-27 16:06:28 +01:00
__runit [__runit*] Add support for Debian/Devuan 2021-10-30 10:40:01 +02:00
__runit_service [__runit*] Add support for Debian/Devuan 2021-10-30 10:40:01 +02:00
__systemd_network [bird_radv] Add option to include MTU in RAs. 2022-02-07 13:46:08 +01:00
__systemd_resolved [systemd_resolved]: make singleton. 2022-02-28 16:18:51 +01:00
__uacme_account __uacme*, __nginx: allow external ACME provider, EAB authentication 2021-12-14 12:37:18 +01:00
__uacme_obtain __uacme*, __nginx: allow external ACME provider, EAB authentication 2021-12-14 12:37:18 +01:00
__unbound __unbound: add missing functionality. 2021-05-12 14:48:57 +02:00
__unbound_exporter [__unbound_exporter] fix chicken-egg problem for service start 2021-04-08 17:31:57 +02:00
__wikijs [__wikijs] run under own user 2021-03-01 07:23:47 +01:00
__wireguard newtype: __wireguard. 2021-06-09 16:37:05 +02:00
__wireguard_peer newtype: __wireguard. 2021-06-09 16:37:05 +02:00
.keep Initial project structure, README 2020-04-21 08:02:51 +02:00