cdist-backup/cdist/conf/type
Evil Ham c00c8c2012 [__apt_key*] Deprecate __apt_key_uri and improve __apt_key
Previously this type was falling back to using the deprecated apt-key(8) by
checking for existence of files/directories on the controller host in
gencode-remote.

Adding `--use-deprecated-apt-key` as an explicit boolean serves two purposes:
1. It prevents fallbacks that might end up doing the wrong thing
   (as was the case)
2. It allows for a simple way to remove keys from the keyring that were
   previously added with apt-key(8) to /etc/apt/trusted.gpg

This parameter is added marked as deprecated as is only intended use is to
migrate to directory-based keyrings as recommended by Debian for a few releases.
It will be removed when Debian 11 stops being supported.

During the review process of this merge request, it was noted that the state of
PGP Key Servers is somewhat suboptimal, that the examples encouraged bad
practise (it is trivial to produce collisions for short key IDs), and that
this use does not require the Web of Trust, but instead only the public key
that is signing the repository.

That is why this also adds `--source` as an argument allowing for in-type or
in-manifest provision of such public keys by the type/manifest maintainer and
the use of Key Servers is still supported, but discouraged.
2021-05-10 12:08:22 +02:00
..
__acl [__acl] remove deprecated parameters, fix some bugs and improve manual 2020-10-18 23:54:01 +03:00
__apt_backports __apt_backports: undo __apt_update_index call 2020-12-12 17:34:51 +01:00
__apt_default_release Add __apt_default_release type (#643) 2018-03-05 12:40:11 +01:00
__apt_key [__apt_key*] Deprecate __apt_key_uri and improve __apt_key 2021-05-10 12:08:22 +02:00
__apt_key_uri [__apt_key*] Deprecate __apt_key_uri and improve __apt_key 2021-05-10 12:08:22 +02:00
__apt_mark +x 2017-07-03 15:18:27 +03:00
__apt_norecommends [type/__apt_norecommends] Use 00InstallRecommends file as debian-installer does 2020-10-29 10:45:18 +01:00
__apt_ppa Fix problems found by sellcheck in type explorers. 2018-10-07 19:41:44 +02:00
__apt_source Add nonparallel marker for __apt_source type. 2018-08-30 20:22:51 +02:00
__apt_unattended_upgrades __apt_unattended_upgrades: update manual 2020-01-17 14:48:54 +02:00
__apt_update_index Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__block __block: securly quote via the quote function 2020-12-07 19:59:05 +01:00
__ccollect_source Merge pull request #696 from thriqon/shellcheck-party-SC2086 2018-10-05 10:26:53 +02:00
__cdist Fix newly found shellcheck issues 2020-04-22 23:21:34 +02:00
__cdistmarker Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__check_messages Fix shellcheck SC2002 2019-04-06 10:52:32 +02:00
__chroot_mount Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__chroot_umount Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__clean_path [__clean_path] add --path parameter 2020-06-10 11:38:14 +03:00
__config_file fix SC2045 (use globs instead of ls) 2018-10-04 16:01:45 +02:00
__consul consul, changelog, consul agent => alpine 2019-05-18 23:46:09 +02:00
__consul_agent Fix shellcheck 2020-03-27 13:30:52 +01:00
__consul_check Patch __consul_* to discover remote consul configuration dir 2020-02-17 13:42:19 +01:00
__consul_reload Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__consul_service Fix various typos and styling errors in __consul_agent, conf-dir 2020-02-17 13:43:18 +01:00
__consul_template Improve quoting. 2018-10-10 12:52:50 +02:00
__consul_template_template Fix SC2030,SC2031. 2018-10-06 08:36:06 +02:00
__consul_watch_checks Patch __consul_* to discover remote consul configuration dir 2020-02-17 13:42:19 +01:00
__consul_watch_event Patch __consul_* to discover remote consul configuration dir 2020-02-17 13:42:19 +01:00
__consul_watch_key Patch __consul_* to discover remote consul configuration dir 2020-02-17 13:42:19 +01:00
__consul_watch_keyprefix Patch __consul_* to discover remote consul configuration dir 2020-02-17 13:42:19 +01:00
__consul_watch_nodes Patch __consul_* to discover remote consul configuration dir 2020-02-17 13:42:19 +01:00
__consul_watch_service Patch __consul_* to discover remote consul configuration dir 2020-02-17 13:42:19 +01:00
__consul_watch_services Patch __consul_* to discover remote consul configuration dir 2020-02-17 13:42:19 +01:00
__cron [__cron] add hint for default values of time-related parameters 2020-05-16 14:00:02 +02:00
__daemontools Improve shell code. 2018-10-10 12:43:39 +02:00
__daemontools_service Fix SC2086 on all scripts 2018-10-04 19:45:22 +02:00
__debconf_set_selections Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__directory [type/{__file,__directory}] Fix incorrect interpretation of strings with leading 0s as octal 2020-07-23 09:43:40 +02:00
__docker Fix variable typo 2019-08-04 21:54:13 +02:00
__docker_compose Disable SC2016 check. 2018-10-05 10:32:38 +02:00
__docker_config __docker_config: Fix config-data explorer 2018-05-04 16:42:47 +02:00
__docker_secret __docker_secret: Set executable flag on scripts 2018-05-04 16:47:09 +02:00
__docker_stack __docker_stack: Use --with-registry-auth deploy option 2018-04-29 13:05:50 +02:00
__docker_swarm __docker_swarm: Fix for Docker 19.03 2019-08-23 11:28:13 +02:00
__dog_vdi Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__dot_file Added optional dirmode parameter to set the mode of (optional) the directory. 2020-12-18 11:16:28 +01:00
__download [__download] make --sum optional 2021-04-11 23:16:00 +03:00
__dpkg_architecture __dpkg_architecture: make type nonparallel 2020-11-07 21:03:38 +01:00
__file [type/__file] Fix --state pre-exists also for non-dry-runs 2020-11-04 08:34:17 +01:00
__filesystem Add Alpine Linux as supported for __filesystem. 2020-08-06 11:45:05 +02:00
__firewalld_rule Merge pull request #696 from thriqon/shellcheck-party-SC2086 2018-10-05 10:26:53 +02:00
__firewalld_start Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__git [type/__git] Fix if --owner / --group is numeric 2021-03-30 13:24:56 +02:00
__go_get Fix problems found by sellcheck in type explorers. 2018-10-07 19:41:44 +02:00
__golang_from_vendor Disable SC2016 check. 2018-10-05 10:32:38 +02:00
__grafana_dashboard Fix issues/Make prometheus+grafana+blackbox types compatible with Debian 10 2019-10-15 20:19:04 +02:00
__group [__group] fix --gid on freebsd 2020-05-22 02:31:38 +03:00
__hostname [type/__hostname] Fix OS version detection for SuSE 2020-11-11 14:21:35 +01:00
__hosts [type/__hosts] Fix when used without --alias 2020-07-11 18:57:47 +02:00
__hwclock [type/__hwclock] Add new type 2020-11-13 02:32:45 +01:00
__install_bootloader_grub Fix SC2086 on all scripts 2018-10-04 19:45:22 +02:00
__install_chroot_mount add forgotten symlink 2017-07-07 02:10:06 +02:00
__install_chroot_umount bugfix: __install_chroot_umount was not using __chroot_umount/manifest 2019-12-19 12:33:47 +01:00
__install_config Fix after shellcheck. 2018-10-10 12:43:39 +02:00
__install_coreos Fix SC1117. 2018-10-07 10:22:11 +02:00
__install_directory Fix documentation for install types 2019-12-06 09:00:16 +01:00
__install_file Fix documentation for install types 2019-12-06 09:00:16 +01:00
__install_fstab Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__install_generate_fstab Fix SC2044. 2018-10-05 13:05:01 +02:00
__install_mkfs Remove unused variables (almost, found bugs?) 2018-10-04 19:22:28 +02:00
__install_mount Fix SC2044. 2018-10-05 13:05:01 +02:00
__install_partition_msdos Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__install_partition_msdos_apply shellcheck on /files/ scripts. 2018-10-10 12:43:39 +02:00
__install_reboot Drop unused options parameter in __install_reboot 2018-10-04 19:22:28 +02:00
__install_reset_disk Fix SC1117. 2018-10-07 10:22:11 +02:00
__install_stage Fix sphinx warnings. 2018-03-15 18:01:23 +01:00
__install_umount Fix __install_umount target parameter 2018-10-04 19:22:28 +02:00
__iptables_apply __iptables_apply: shorten copyright header 2020-12-04 19:23:49 +01:00
__iptables_rule __iptables_*: correct manpage spelling 2020-12-04 17:57:55 +01:00
__issue Allow filling __issue from stdin 2018-01-31 12:53:50 +00:00
__jail Fix remaining shellcheck problems. 2018-10-07 10:22:11 +02:00
__jail_freebsd9 Fix problems found by sellcheck in type explorers. 2018-10-07 19:41:44 +02:00
__jail_freebsd10 Fix problems found by sellcheck in type explorers. 2018-10-07 19:41:44 +02:00
__key_value [type/__key_value] Get AWK from POSIX PATH 2020-07-26 19:36:34 +02:00
__keyboard Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__letsencrypt_cert [__letsencrypt_cert] Move hook contents generation out of manifest 2021-02-10 10:10:21 +01:00
__line [__line] Add support for '--state replace' 2020-10-09 06:51:44 +02:00
__link [__link] fix typo in the manual 2020-05-09 18:40:44 +02:00
__locale Merge branch 'feature/type/__localedef' into 'master' 2020-11-20 19:42:52 +01:00
__locale_system [type/__locale_system] Fix version extraction for SuSE 2020-08-02 22:47:46 +02:00
__localedef [type/__localdef] Also check for aliases in state explorer 2020-11-14 11:45:31 +01:00
__motd [__motd] debian|ubuntu|devuan use /etc/motd 2020-05-22 02:36:49 +03:00
__mount Fix remaining shellcheck problems. 2018-10-07 10:22:11 +02:00
__mysql_database __mysql_database: add manual 2020-01-03 18:33:23 +02:00
__mysql_privileges __mysql_privileges: fix typo 2020-02-13 17:38:34 +02:00
__mysql_user __mysql_user: add manual 2020-01-03 18:48:11 +02:00
__openldap_server Fix building man pages 2020-07-29 11:31:12 +02:00
__package [alpine] add support for alpine in __package and __package_apk 2019-04-15 16:11:58 +02:00
__package_apk [__package_apk] fix / add support for @yrepo syntax 2019-05-14 11:47:15 +02:00
__package_apt __package_apt: add --install-recommends parameter 2020-11-08 13:19:46 +01:00
__package_dpkg dpkg {-r|-P} needs the package-, not the filename 2018-02-21 15:01:08 +01:00
__package_emerge shellcheck: SC2236: use -n instead of ! -z 2019-02-15 20:44:03 +01:00
__package_emerge_dependencies [type/__package_emerge_dependendencies] Send messages when a dependency is installed 2018-12-07 16:55:49 +01:00
__package_luarocks [type/__package_*] Print installed/removed messages 2018-12-07 16:53:21 +01:00
__package_opkg [type/__package_opkg] Implement flock locking if available 2020-06-24 21:06:10 +02:00
__package_pacman [type/__package_*] Print installed/removed messages 2018-12-07 16:53:21 +01:00
__package_pip __package_pip: corrected typo in man 2021-02-19 09:03:56 +01:00
__package_pkg_freebsd [type/__package_*] Print installed/removed messages 2018-12-07 16:53:21 +01:00
__package_pkg_openbsd Remove unused explorer 2018-12-21 22:23:41 +01:00
__package_pkgng_freebsd [type/__package_pkgng_freebsd] Set ASSUME_ALWAYS_YES instead of -y 2020-12-04 18:26:03 +01:00
__package_rubygem [type/__package_*] Print installed/removed messages 2018-12-07 16:53:21 +01:00
__package_update_index Fix shellcheck issues 2020-04-02 20:18:04 +02:00
__package_upgrade_all Fix SC2086 on all scripts 2018-10-04 19:45:22 +02:00
__package_yum [type/__package_*] Print installed/removed messages 2018-12-07 16:53:21 +01:00
__package_zypper [type/__package_*] Print installed/removed messages 2018-12-07 16:53:21 +01:00
__pacman_conf Fix SC2086 on all scripts 2018-10-04 19:45:22 +02:00
__pacman_conf_integrate Merge pull request #696 from thriqon/shellcheck-party-SC2086 2018-10-05 10:26:53 +02:00
__pf_apply_anchor [__pf*] (~) __pf_ruleset (+)__pf_apply_anchor, deprecate __pf_apply 2020-04-25 12:23:27 +02:00
__pf_ruleset [__pf_ruleset] Fix shellcheck issue. 2020-04-25 14:54:29 +02:00
__ping type: Add new type __ping 2018-11-26 20:37:43 +01:00
__postfix [__postfix] Automagically support more OSs by not checking too much. 2020-04-25 00:22:28 +02:00
__postfix_master Merge branch 'bugfix/postfix-master-option' into '6.6' 2020-07-13 07:49:49 +02:00
__postfix_postconf ++alpine support 2019-05-14 16:49:33 +02:00
__postfix_postmap Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__postfix_reload Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__postgres_conf [type/__postgres_conf] Update man.rst 2021-04-15 15:56:15 +02:00
__postgres_database [type/__postgres_database] Proper quoting in state explorer 2021-04-25 20:01:36 +02:00
__postgres_extension [type/__postgres_extension] Add state explorer 2021-04-25 20:01:36 +02:00
__postgres_role [type/__postgres_role] Treat --password '' like no --password 2021-04-25 20:01:36 +02:00
__process Fix remaining shellcheck problems. 2018-10-07 10:22:11 +02:00
__prometheus_alertmanager Fix issues/Make prometheus+grafana+blackbox types compatible with Debian 10 2019-10-15 20:19:04 +02:00
__prometheus_exporter Fix issues/Make prometheus+grafana+blackbox types compatible with Debian 10 2019-10-15 20:19:04 +02:00
__prometheus_server Fix issues/Make prometheus+grafana+blackbox types compatible with Debian 10 2019-10-15 20:19:04 +02:00
__pyvenv [type/__pyvenv] Fix if --owner / --group is numeric 2021-03-30 13:26:21 +02:00
__qemu_img Merge pull request #696 from thriqon/shellcheck-party-SC2086 2018-10-05 10:26:53 +02:00
__rbenv Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
__rsync Fix SC2162. 2018-10-05 12:50:01 +02:00
__rvm Fix SC1117. 2018-10-07 10:22:11 +02:00
__rvm_gem Remove unused variables (almost, found bugs?) 2018-10-04 19:22:28 +02:00
__rvm_gemset Disable SC2016 check. 2018-10-05 10:32:38 +02:00
__rvm_ruby Remove unused variables (almost, found bugs?) 2018-10-04 19:22:28 +02:00
__sensible_editor [__sensible_editor] Fix SC2028 2019-10-14 11:31:29 +02:00
__service Fixed calling of __systemd_service type with correct arguments. 2020-10-08 16:15:20 +02:00
__ssh_authorized_key [type/__ssh_authorized_key] Only grep if file exists 2021-03-09 21:15:26 +01:00
__ssh_authorized_keys Resolve shellcheck SC1090 2020-05-30 15:10:13 +02:00
__ssh_dot_ssh [__ssh_dot_ssh] Fall back to /etc files if getent(1) is not available 2019-10-01 08:43:12 +02:00
__sshd_config [type/__sshd_config] Whitelist OpenBMC in manifest 2021-03-11 14:17:44 +01:00
__staged_file Use portable -p instead of --tmpdir for mktemp 2019-03-25 18:36:55 -03:00
__start_on_boot [type-docs] __start_on_boot: remove unspported *BSD claim. 2019-12-10 13:12:54 +01:00
__sysctl [type/__sysctl] Fix on NetBSD 2020-07-27 15:22:21 +02:00
__systemd_service __systemd_service: fix manpage typos 2020-09-09 21:11:40 +02:00
__systemd_unit shellcheck: SC2236: use -n instead of ! -z 2019-02-15 20:44:03 +01:00
__timezone [__timezone] Make type singleton 2020-07-27 11:06:14 +02:00
__uci Fix shellcheck source directives 2020-11-07 12:07:58 +01:00
__uci_section Fix shellcheck source directives 2020-11-07 12:07:58 +01:00
__ufw give error msg to stderr 2019-11-24 17:18:34 +01:00
__ufw_rule Added __ufw and __ufw_rule. 2019-04-10 19:45:34 -07:00
__unpack [__unpack] add --onchange 2020-08-18 00:46:07 +03:00
__update_alternatives [__update_alternatives] rewrite and support --install 2020-10-18 23:57:25 +03:00
__user [type/__user] Install user{add,mod,del} packages on OpenWrt 2020-07-21 19:42:40 +02:00
__user_groups __user_groups: Support OpenBSD 2017-08-27 08:58:16 -04:00
__xymon_apache add new type __xymon_apache as a helper for __xymon_server 2019-10-08 18:34:08 +02:00
__xymon_client add --msgcache-parameter to support passive clients (__xymon_client) 2019-11-20 15:47:25 +01:00
__xymon_config add parameters for ownership and generic rsync-options (__xymon_config) 2019-11-20 15:49:25 +01:00
__xymon_server correct condition -- should check on remote side 2019-10-08 18:38:33 +02:00
__yum_repo shellcheck on /files/ scripts. 2018-10-10 12:43:39 +02:00
__zypper_repo To keep original echo intentionally disable SC2046 too 2019-02-15 20:44:03 +01:00
__zypper_service Fix spelling error in manpage 2019-04-23 17:18:28 +02:00