From ab23302e8a2505fd5591976c611d13fa6fdf6b33 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Sun, 23 Jun 2019 20:04:43 +0200 Subject: [PATCH] Update beta docs --- .../manual/beta/_sources/cdist-type.rst.txt | 3 +++ .../manual/beta/cdist-best-practice.html | 6 +++--- src/extra/manual/beta/cdist-bootstrap.html | 6 +++--- src/extra/manual/beta/cdist-cache.html | 6 +++--- .../manual/beta/cdist-configuration.html | 6 +++--- src/extra/manual/beta/cdist-explorer.html | 6 +++--- src/extra/manual/beta/cdist-features.html | 6 +++--- src/extra/manual/beta/cdist-hacker.html | 6 +++--- src/extra/manual/beta/cdist-install.html | 6 +++--- src/extra/manual/beta/cdist-integration.html | 6 +++--- src/extra/manual/beta/cdist-inventory.html | 6 +++--- src/extra/manual/beta/cdist-manifest.html | 6 +++--- src/extra/manual/beta/cdist-messaging.html | 6 +++--- src/extra/manual/beta/cdist-os.html | 6 +++--- .../manual/beta/cdist-parallelization.html | 6 +++--- src/extra/manual/beta/cdist-preos.html | 6 +++--- src/extra/manual/beta/cdist-quickstart.html | 6 +++--- src/extra/manual/beta/cdist-real-world.html | 6 +++--- src/extra/manual/beta/cdist-reference.html | 6 +++--- .../manual/beta/cdist-remote-exec-copy.html | 6 +++--- .../beta/cdist-saving-output-streams.html | 6 +++--- src/extra/manual/beta/cdist-stages.html | 6 +++--- src/extra/manual/beta/cdist-support.html | 6 +++--- src/extra/manual/beta/cdist-trigger.html | 6 +++--- .../manual/beta/cdist-troubleshooting.html | 6 +++--- src/extra/manual/beta/cdist-type.html | 9 ++++++--- src/extra/manual/beta/cdist-types.html | 6 +++--- src/extra/manual/beta/cdist-upgrade.html | 6 +++--- src/extra/manual/beta/cdist-why.html | 6 +++--- src/extra/manual/beta/genindex.html | 6 +++--- src/extra/manual/beta/index.html | 6 +++--- src/extra/manual/beta/man1/cdist-dump.html | 6 +++--- .../manual/beta/man1/cdist-new-type.html | 6 +++--- src/extra/manual/beta/man1/cdist.html | 6 +++--- .../manual/beta/man7/cdist-type__acl.html | 6 +++--- .../man7/cdist-type__apt_default_release.html | 6 +++--- .../manual/beta/man7/cdist-type__apt_key.html | 6 +++--- .../beta/man7/cdist-type__apt_key_uri.html | 6 +++--- .../beta/man7/cdist-type__apt_mark.html | 6 +++--- .../man7/cdist-type__apt_norecommends.html | 6 +++--- .../manual/beta/man7/cdist-type__apt_ppa.html | 6 +++--- .../beta/man7/cdist-type__apt_source.html | 6 +++--- .../man7/cdist-type__apt_update_index.html | 6 +++--- .../manual/beta/man7/cdist-type__block.html | 6 +++--- .../man7/cdist-type__ccollect_source.html | 6 +++--- .../manual/beta/man7/cdist-type__cdist.html | 6 +++--- .../man7/cdist-type__cdist_preos_trigger.html | 6 +++--- .../beta/man7/cdist-type__cdistmarker.html | 6 +++--- .../beta/man7/cdist-type__check_messages.html | 6 +++--- .../beta/man7/cdist-type__chroot_mount.html | 6 +++--- .../beta/man7/cdist-type__chroot_umount.html | 6 +++--- .../beta/man7/cdist-type__clean_path.html | 6 +++--- .../beta/man7/cdist-type__config_file.html | 6 +++--- .../manual/beta/man7/cdist-type__consul.html | 6 +++--- .../beta/man7/cdist-type__consul_agent.html | 6 +++--- .../beta/man7/cdist-type__consul_check.html | 6 +++--- .../beta/man7/cdist-type__consul_reload.html | 6 +++--- .../beta/man7/cdist-type__consul_service.html | 6 +++--- .../man7/cdist-type__consul_template.html | 6 +++--- .../cdist-type__consul_template_template.html | 6 +++--- .../man7/cdist-type__consul_watch_checks.html | 6 +++--- .../man7/cdist-type__consul_watch_event.html | 6 +++--- .../man7/cdist-type__consul_watch_key.html | 6 +++--- .../cdist-type__consul_watch_keyprefix.html | 6 +++--- .../man7/cdist-type__consul_watch_nodes.html | 6 +++--- .../cdist-type__consul_watch_service.html | 6 +++--- .../cdist-type__consul_watch_services.html | 6 +++--- .../manual/beta/man7/cdist-type__cron.html | 6 +++--- .../beta/man7/cdist-type__daemontools.html | 6 +++--- .../man7/cdist-type__daemontools_service.html | 6 +++--- .../cdist-type__debconf_set_selections.html | 6 +++--- .../beta/man7/cdist-type__directory.html | 6 +++--- .../manual/beta/man7/cdist-type__docker.html | 6 +++--- .../beta/man7/cdist-type__docker_compose.html | 6 +++--- .../beta/man7/cdist-type__docker_config.html | 6 +++--- .../beta/man7/cdist-type__docker_secret.html | 6 +++--- .../beta/man7/cdist-type__docker_stack.html | 6 +++--- .../beta/man7/cdist-type__docker_swarm.html | 6 +++--- .../manual/beta/man7/cdist-type__dog_vdi.html | 6 +++--- .../beta/man7/cdist-type__dot_file.html | 6 +++--- .../manual/beta/man7/cdist-type__file.html | 6 +++--- .../beta/man7/cdist-type__filesystem.html | 6 +++--- .../beta/man7/cdist-type__firewalld_rule.html | 6 +++--- .../man7/cdist-type__firewalld_start.html | 6 +++--- .../manual/beta/man7/cdist-type__git.html | 6 +++--- .../manual/beta/man7/cdist-type__go_get.html | 6 +++--- .../man7/cdist-type__golang_from_vendor.html | 6 +++--- .../man7/cdist-type__grafana_dashboard.html | 6 +++--- .../manual/beta/man7/cdist-type__group.html | 6 +++--- .../beta/man7/cdist-type__hostname.html | 6 +++--- .../manual/beta/man7/cdist-type__hosts.html | 6 +++--- .../cdist-type__install_bootloader_grub.html | 6 +++--- .../cdist-type__install_chroot_mount.html | 6 +++--- .../cdist-type__install_chroot_umount.html | 6 +++--- .../beta/man7/cdist-type__install_config.html | 6 +++--- .../beta/man7/cdist-type__install_coreos.html | 6 +++--- .../man7/cdist-type__install_directory.html | 6 +++--- .../beta/man7/cdist-type__install_file.html | 6 +++--- .../beta/man7/cdist-type__install_fstab.html | 6 +++--- .../cdist-type__install_generate_fstab.html | 6 +++--- .../beta/man7/cdist-type__install_mkfs.html | 6 +++--- .../beta/man7/cdist-type__install_mount.html | 6 +++--- .../cdist-type__install_partition_msdos.html | 6 +++--- ...t-type__install_partition_msdos_apply.html | 6 +++--- .../beta/man7/cdist-type__install_reboot.html | 6 +++--- .../man7/cdist-type__install_reset_disk.html | 6 +++--- .../beta/man7/cdist-type__install_stage.html | 6 +++--- .../beta/man7/cdist-type__install_umount.html | 6 +++--- .../beta/man7/cdist-type__iptables_apply.html | 6 +++--- .../beta/man7/cdist-type__iptables_rule.html | 6 +++--- .../manual/beta/man7/cdist-type__issue.html | 6 +++--- .../manual/beta/man7/cdist-type__jail.html | 6 +++--- .../beta/man7/cdist-type__jail_freebsd10.html | 6 +++--- .../beta/man7/cdist-type__jail_freebsd9.html | 6 +++--- .../beta/man7/cdist-type__key_value.html | 6 +++--- .../beta/man7/cdist-type__keyboard.html | 6 +++--- .../man7/cdist-type__letsencrypt_cert.html | 6 +++--- .../manual/beta/man7/cdist-type__line.html | 6 +++--- .../manual/beta/man7/cdist-type__link.html | 6 +++--- .../manual/beta/man7/cdist-type__locale.html | 6 +++--- .../beta/man7/cdist-type__locale_system.html | 6 +++--- .../manual/beta/man7/cdist-type__motd.html | 6 +++--- .../manual/beta/man7/cdist-type__mount.html | 6 +++--- .../beta/man7/cdist-type__mysql_database.html | 6 +++--- .../manual/beta/man7/cdist-type__package.html | 6 +++--- .../beta/man7/cdist-type__package_apk.html | 6 +++--- .../beta/man7/cdist-type__package_apt.html | 6 +++--- .../beta/man7/cdist-type__package_dpkg.html | 6 +++--- .../beta/man7/cdist-type__package_emerge.html | 6 +++--- ...ist-type__package_emerge_dependencies.html | 6 +++--- .../man7/cdist-type__package_luarocks.html | 6 +++--- .../beta/man7/cdist-type__package_opkg.html | 6 +++--- .../beta/man7/cdist-type__package_pacman.html | 6 +++--- .../beta/man7/cdist-type__package_pip.html | 6 +++--- .../man7/cdist-type__package_pkg_freebsd.html | 6 +++--- .../man7/cdist-type__package_pkg_openbsd.html | 6 +++--- .../cdist-type__package_pkgng_freebsd.html | 6 +++--- .../man7/cdist-type__package_rubygem.html | 6 +++--- .../cdist-type__package_update_index.html | 6 +++--- .../man7/cdist-type__package_upgrade_all.html | 6 +++--- .../beta/man7/cdist-type__package_yum.html | 6 +++--- .../beta/man7/cdist-type__package_zypper.html | 6 +++--- .../beta/man7/cdist-type__pacman_conf.html | 6 +++--- .../cdist-type__pacman_conf_integrate.html | 6 +++--- .../beta/man7/cdist-type__pf_apply.html | 6 +++--- .../beta/man7/cdist-type__pf_ruleset.html | 6 +++--- .../manual/beta/man7/cdist-type__ping.html | 6 +++--- .../manual/beta/man7/cdist-type__postfix.html | 6 +++--- .../beta/man7/cdist-type__postfix_master.html | 6 +++--- .../man7/cdist-type__postfix_postconf.html | 6 +++--- .../man7/cdist-type__postfix_postmap.html | 6 +++--- .../beta/man7/cdist-type__postfix_reload.html | 6 +++--- .../man7/cdist-type__postgres_database.html | 6 +++--- .../man7/cdist-type__postgres_extension.html | 6 +++--- .../beta/man7/cdist-type__postgres_role.html | 6 +++--- .../manual/beta/man7/cdist-type__process.html | 6 +++--- .../cdist-type__prometheus_alertmanager.html | 6 +++--- .../man7/cdist-type__prometheus_exporter.html | 6 +++--- .../man7/cdist-type__prometheus_server.html | 6 +++--- .../manual/beta/man7/cdist-type__pyvenv.html | 6 +++--- .../beta/man7/cdist-type__qemu_img.html | 6 +++--- .../manual/beta/man7/cdist-type__rbenv.html | 6 +++--- .../manual/beta/man7/cdist-type__rsync.html | 6 +++--- .../manual/beta/man7/cdist-type__rvm.html | 6 +++--- .../manual/beta/man7/cdist-type__rvm_gem.html | 6 +++--- .../beta/man7/cdist-type__rvm_gemset.html | 6 +++--- .../beta/man7/cdist-type__rvm_ruby.html | 6 +++--- .../man7/cdist-type__ssh_authorized_key.html | 6 +++--- .../man7/cdist-type__ssh_authorized_keys.html | 6 +++--- .../beta/man7/cdist-type__ssh_dot_ssh.html | 6 +++--- .../beta/man7/cdist-type__staged_file.html | 6 +++--- .../beta/man7/cdist-type__start_on_boot.html | 6 +++--- .../manual/beta/man7/cdist-type__sysctl.html | 6 +++--- .../beta/man7/cdist-type__systemd_unit.html | 6 +++--- .../beta/man7/cdist-type__timezone.html | 6 +++--- .../manual/beta/man7/cdist-type__ufw.html | 6 +++--- .../beta/man7/cdist-type__ufw_rule.html | 6 +++--- .../man7/cdist-type__update_alternatives.html | 6 +++--- .../manual/beta/man7/cdist-type__user.html | 6 +++--- .../beta/man7/cdist-type__user_groups.html | 6 +++--- .../beta/man7/cdist-type__yum_repo.html | 6 +++--- .../beta/man7/cdist-type__zypper_repo.html | 6 +++--- .../beta/man7/cdist-type__zypper_service.html | 6 +++--- src/extra/manual/beta/objects.inv | Bin 2658 -> 2670 bytes src/extra/manual/beta/search.html | 6 +++--- src/extra/manual/beta/searchindex.js | 2 +- 186 files changed, 556 insertions(+), 550 deletions(-) diff --git a/src/extra/manual/beta/_sources/cdist-type.rst.txt b/src/extra/manual/beta/_sources/cdist-type.rst.txt index 3a4a0b13..388c3caf 100644 --- a/src/extra/manual/beta/_sources/cdist-type.rst.txt +++ b/src/extra/manual/beta/_sources/cdist-type.rst.txt @@ -542,6 +542,9 @@ in shell, since this is the code that is directly executed at target host. When writing python type you can extend **cdist.core.pytypes.PythonType** class. You need to implement the following methods: +* **get_args_parser**: implementation should return **argparse.ArgumentParser** and if + it is undefined or returned None then cdist falls back to classic type parameter + definition and argument parsing * **type_manifest**: implementation should yield **cdist.core.pytypes.** attribute function call result, or **yield from ()** if type does not use other types * **type_gencode**: implementation should return a string consisting of lines diff --git a/src/extra/manual/beta/cdist-best-practice.html b/src/extra/manual/beta/cdist-best-practice.html index c08cef3e..e7c01eeb 100644 --- a/src/extra/manual/beta/cdist-best-practice.html +++ b/src/extra/manual/beta/cdist-best-practice.html @@ -8,7 +8,7 @@ - 25. Best practice — cdist 5.1.2 documentation + 25. Best practice — cdist 5.1.2-6-ge583d3df documentation @@ -23,7 +23,7 @@