Merge branch 'master' into no-dot-cdist

This commit is contained in:
Nico Schottelius 2015-03-05 11:08:49 +01:00
commit ff00df72ad
232 changed files with 4771 additions and 478 deletions

View file

@ -1,9 +1,68 @@
Changelog
---------
* Changes are always commented with their author in (braces)
* Exception: No braces means author == Nico Schottelius
next:
* New type: __firewalld_rule (Nico Schottelius)
3.1.11: 2015-02-27
* New type: __staged_file: Manage staged files (Steven Armstrong)
* New type: __config_file: Manage configuration files and run code on change (Steven Armstrong)
* New type: __consul: install consul (Steven Armstrong)
* New type: __consul_agent: manage the consul agent (Steven Armstrong)
* New type: __consul_check: manages consul checks (Steven Armstrong)
* New type: __consul_reload: reload consul (Steven Armstrong)
* New type: __consul_service: manages consul services (Steven Armstrong)
* New type: __consul_template: manage the consul-template service (Steven Armstrong)
* New type: __consul_template_template: manage consul-template templates (Steven Armstrong)
* New type: __consul_watch_checks: manages consul checks watches (Steven Armstrong)
* New type: __consul_watch_event: manages consul event watches (Steven Armstrong)
* New type: __consul_watch_key: manages consul key watches (Steven Armstrong)
* New type: __consul_watch_keyprefix: manages consul keyprefix watches (Steven Armstrong)
* New type: __consul_watch_nodes: manages consul nodes watches (Steven Armstrong)
* New type: __consul_watch_service: manages consul service watches (Steven Armstrong)
* New type: __consul_watch_services: manages consul services watches (Steven Armstrong)
* New Type: __rsync (Nico Schottelius)
* Type __start_on_boot: Support Ubuntu upstart (Nico Schottelius)
* Type __timezone: Added support for FreeBSD (Christian Kruse)
3.1.10: 2015-02-10
* Core: Fix too many open files bug (#343)
* Type __ssh_authorized_keys: Remove unneeded explorer (Steven Armstrong)
* Type __ssh_authorized_keys: Fix empty output bug of entry explorer (Steven Armstrong)
* Type __package_apt: Add support for --target-release (Nico Schottelius)
* Type __locale: Add support for Ubuntu (Nico Schottelius)
* Type __group: Rewrite (Steven Armstrong)
* Documentation: Fix typo in maintainer file (Stephan Kulla)
3.1.9: 2014-10-17
* Type __package_emerge: Fix handling of slotted packages (Daniel Heule)
* Type __package_apt: Use --force-confdef (Ricardo Catalinas Jiménez)
* Type __package_update_index: Decrease verbosity (Ricardo Catalinas Jiménez)
* Type __package_upgrade_all: Decrease verbosity (Ricardo Catalinas Jiménez)
3.1.8: 2014-10-01
* New Type: __package_update_index (Ricardo Catalinas Jiménez)
* New Type: __package_upgrade_all (Ricardo Catalinas Jiménez)
3.1.7: 2014-09-29
* Type __cdistmarker: Fix typo (Ricardo Catalinas Jiménez)
* Core: Bugfix: Export messaging to manifests (Ricardo Catalinas Jiménez)
* Explorer cpu_cores, cpu_sockets, memory: Add Mac OS X support (Manuel Hutter)
* Type __ssh_authorized_keys: Ensure keys are correctly added (Steven Armstrong)
* New Type: __ssh_authorized_key (Steven Armstrong)
* New Type: __package_pkgng_freebsd (Jake Guffey)
3.1.6: 2014-08-18
* New Type: __ssh_dot_ssh (Nico Schottelius)
* Type __package_yum: Support retrieving package via URL (Nico Schottelius)
* Type __hostname: Support SuSE and have CentOS use sysconfig value (Nico Schottelius)
* Type __locale: Support SuSE (Nico Schottelius)
* Type __locale: Support Archlinux (Nico Schottelius)
* Type __timezone: Support SuSE (Nico Schottelius)
* Type __file: Support MacOS X (Manuel Hutter)
* Type __iptables_apply: Add "reset" to init.d script of iptables (Nico Schottelius)
* Type __ssh_authorized_key: Use new type __ssh_dot_ssh (Nico Schottelius)
* Type __zypper_repo: Bugfix for pattern matching (Daniel Heule)
3.1.5: 2014-05-05
* Type __zypper_repo: Automatically import gpg keys (Daniel Heule)
@ -17,13 +76,13 @@ Changelog
3.1.3: 2014-04-29
* New Type: __yum_repo (Steven Armstrong)
* Type __hostname: Add support for CentOS
* Type __hostname: Add support for CentOS (Nico Schottelius)
3.1.2: 2014-04-12
* Documentation: Add missing environment variables to reference
* Type __qemu_img: size is optional, if state is not present
* Documentation: Add missing environment variables to reference (Nico Schottelius)
* Type __qemu_img: size is optional, if state is not present (Nico Schottelius)
* Type __key_value: Rewrite using awk (Daniel Heule)
* New Type: __dog_vdi
* New Type: __dog_vdi (Nico Schottelius)
3.1.1: 2014-03-26
* Core: Make __object and __object_id available to code (Daniel Heule)
@ -37,11 +96,11 @@ Changelog
* Type __package_pkg_openbsd: Improve error handling (og)
3.1.0: 2014-03-19
* New Type: __rbenv
* New Type: __rbenv (Nico Schottelius)
* Type __file: Enhance OpenBSD Support (og)
* Type __git: Pass onwer/group/mode values to __directory
* Type __git: Pass onwer/group/mode values to __directory (Nico Schottelius)
* Type __iptable_rule: Fix example documentation (Antoine Catton)
* Type __key_value: Add messaging support
* Type __key_value: Add messaging support (Nico Schottelius)
* Type __package_pkg_openbsd: Allow to change PKG_PATH (og)
* Type __ssh_authorized_keys: Allow managing existing keys (Steven Armstrong)
* Type __user: Enhance OpenBSD Support (og)
@ -49,7 +108,7 @@ Changelog
3.0.9: 2014-02-14
* Core: Ignore order dependencies if override is set (Daniel Heule)
* Core: Improve Mac OS X support for unit tests (Steven Armstrong)
* Type __locale: Error out in case of unsupported OS
* Type __locale: Error out in case of unsupported OS (Nico Schottelius)
* Type __jail: Use default parameters for state (Daniel Heule)
* Type __pf_ruleset: Use default parameters for state (Daniel Heule)
* Type __postgres_database: Use default parameters for state (Daniel Heule)
@ -73,7 +132,7 @@ Changelog
* New Type: __apt_key_uri (Steven Armstrong)
* New Type: __apt_norecommends (Steven Armstrong)
* New Type: __apt_source (Steven Armstrong)
* New Type: __ccollect_source
* New Type: __ccollect_source (Nico Schottelius)
* Type __git: Use default parameters (Daniel Heule)
* Type __jail: Use default parameters (Daniel Heule)
* Type __package_yum: Use default parameters (Daniel Heule)
@ -83,24 +142,24 @@ Changelog
3.0.5: 2014-02-05
* Core: Introduce override concept (Daniel Heule)
* Type __process: Make --state absent work (Steven Armstrong)
* Documentation: Update documentation for environment variables
* Documentation: Update documentation for environment variables (Nico Schottelius)
3.0.4: 2014-01-29
* Core: Ignore install types in config mode
* Documentation: Update reference (files path in object space)
* Documentation: Update best practise: Replaces templates/ with files/
* Core: Ignore install types in config mode (Nico Schottelius)
* Documentation: Update reference (files path in object space) (Nico Schottelius)
* Documentation: Update best practise: Replaces templates/ with files/ (Nico Schottelius)
* Type __apt_ppa: Install required software (Steven Armstrong)
* Type __debconf_set_selections: Support --file - to read from stdin
* Type __debconf_set_selections: Support --file - to read from stdin (Nico Schottelius)
* Type __jail: Fix jaildir parameter handling (Jake Guffey)
3.0.3: 2014-01-22
* Core: Enhance error message when requirement is missing object id
* Core: Enhance error message when requirement is missing object id (Nico Schottelius)
* Core: Add environment variable to select shell for executing scripts (Daniel Heule)
* Explorer hostname: Return host name by using uname -n
* Explorer hostname: Return host name by using uname -n (Nico Schottelius)
* New Type: __hostname (Steven Armstrong)
* Type __cdist: Use default paremeters (Daniel Heule)
* Type __key_value: Use default paremeters (Daniel Heule)
* Type __line: Use printf instead of echo for printing user input
* Type __line: Use printf instead of echo for printing user input (Nico Schottelius)
* Type __qemu_img: Use default paremeters (Daniel Heule)
* Type __zypper_repo: Use default paremeters (Daniel Heule)
* Type __zypper_service: Use default paremeters (Daniel Heule)
@ -114,16 +173,16 @@ Changelog
3.0.1: 2014-01-14
* Core: Copy only files, not directories (Steven Armstrong)
* Core: Allow hostnames to start with /
* Type __line: Remove unecessary backslash escape
* Core: Allow hostnames to start with / (Nico Schottelius)
* Type __line: Remove unecessary backslash escape (Nico Schottelius)
* Type __directory: Add messaging support (Daniel Heule)
* Type __directory: Do not generate code if mode is 0xxx (Daniel Heule)
* Type __package: Fix typo in optional parameter ptype (Daniel Heule)
* Type __start_on_boot: Fix for SuSE's chkconfig (Daniel Heule)
3.0.0: 2013-12-24
* Core: Added messaging support
* Core: Removed unused "changed" attribute of objects
* Core: Added messaging support (Nico Schottelius)
* Core: Removed unused "changed" attribute of objects (Nico Schottelius)
* Core: Support default values for multiple parameters (Steven Armstrong)
* Core: Ensure Object Parameter file contains \n (Steven Armstrong)
* New Type: __zypper_repo (Daniel Heule)
@ -133,8 +192,8 @@ Changelog
* Type __cron: Add support for raw lines (Daniel Heule)
* Type __cron: Suppress stderr output from crontab (Daniel Heule)
* Type __cron: Fix quoting issue (Daniel Heule)
* Type __file: Do not generate code if mode is 0xxx
* Type __iptables_rule: Use default parameter
* Type __file: Do not generate code if mode is 0xxx (Nico Schottelius)
* Type __iptables_rule: Use default parameter (Nico Schottelius)
* Type __key_value: Fix quoting issue (Steven Armstrong)
* Type __package: Use state --present by default (Steven Armstrong)
* Type __package_zypper: Support non packages as well (Daniel Heule)
@ -142,7 +201,7 @@ Changelog
* Type __postfix_*: Depend on __postfix Type (Steven Armstrong)
* Type __postfix_postconf: Enable support for SuSE (Daniel Heule)
* Type __postfix: Enable support for SuSE (Daniel Heule)
* Type __start_on_boot: Use default parameter state
* Type __start_on_boot: Use default parameter state (Nico Schottelius)
* Type __start_on_boot: Add support for gentoo (Daniel Heule)
* Type __user: Add support for state parameter (Daniel Heule)
* Type __user: Add support for system users (Daniel Heule)
@ -154,19 +213,19 @@ Changelog
* Type __file: Only remove file when state is absent (Steven Armstrong)
* Type __link: Only remove link when state is absent (Steven Armstrong)
* Type __directory: Only remove directory when state is absent (Steven Armstrong)
* Type __directory: Fix newly introduced quoting issue
* Type __directory: Fix newly introduced quoting issue (Nico Schottelius)
* Type __package_zypper: Fix explorer and parameter issue (Daniel Heule)
* Core: Fix backtrace when cache cannot be deleted
* Core: Fix backtrace when cache cannot be deleted (Nico Schottelius)
2.3.6: 2013-11-25
* New Type: __locale
* Type __line: Ensure special characters are not interpreted
* New Type: __locale (Nico Schottelius)
* Type __line: Ensure special characters are not interpreted (Nico Schottelius)
2.3.5: 2013-10-10
* Core: Unit test fix for remote_copy (Steven Armstrong)
* Documentation: Updated manpages of __package and __file (Alex Greif)
* Documentation: Add more examples to cdist-manifest (Dan Levin)
* Type __package_apt: Do not install recommends by default
* Type __package_apt: Do not install recommends by default (Nico Schottelius)
2.3.4: 2013-10-03
* Core: Add missing bits to support dry run (Steven Armstrong)
@ -184,51 +243,51 @@ Changelog
* Type __start_on_boot: Bugfix for systemd (Steven Armstrong)
2.3.2: 2013-09-05
* Build: Ensure tests don't change attributes of non-test files
* Core: Fix typo in argument parser
* Build: Ensure tests don't change attributes of non-test files (Nico Schottelius)
* Core: Fix typo in argument parser (Nico Schottelius)
* Core: Code cleanup: Remove old install code (Steven Armstrong)
* Core: Improve error message when using non-existing type in requirement
* New Type: __iptables_rule
* New Type: __iptables_apply
* Type __cdist: Also create home directory
* Type __cdist: Add support for --shell parameter
* Type __motd: Regenerate motd on Debian and Ubuntu
* Core: Improve error message when using non-existing type in requirement (Nico Schottelius)
* New Type: __iptables_rule (Nico Schottelius)
* New Type: __iptables_apply (Nico Schottelius)
* Type __cdist: Also create home directory (Nico Schottelius)
* Type __cdist: Add support for --shell parameter (Nico Schottelius)
* Type __motd: Regenerate motd on Debian and Ubuntu (Nico Schottelius)
2.3.1: 2013-08-28
* Core: Support relative paths for configuration directories
* Core: Code cleanup (removed context class, added log class)
* Documentation: Add more best practises
* Documentation: Add troubleshooting chapter
* Core: Support relative paths for configuration directories (Nico Schottelius)
* Core: Code cleanup (removed context class, added log class) (Nico Schottelius)
* Documentation: Add more best practises (Nico Schottelius)
* Documentation: Add troubleshooting chapter (Nico Schottelius)
* Type __key_value: Fix quoting problem (Steven Armstrong)
2.3.0: 2013-08-12
* Core: Added support for cdist shell
* Documentation: Improved some manpages
* Core: Added support for cdist shell (Nico Schottelius)
* Documentation: Improved some manpages (Nico Schottelius)
2.2.0: 2013-07-12
* Build: Cleanup the Makefile
* Type __package_opkg: Use shortcut version
* Build: Cleanup the Makefile (Nico Schottelius)
* Type __package_opkg: Use shortcut version (Nico Schottelius)
* Core: Remove old pseudo object id "singleton" (Steven Armstrong)
2.1.2: 2013-07-09
* Build: Change clean-dist target to "distclean"
* Build: Change clean-dist target to "distclean" (Nico Schottelius)
* Build: Moved a lot of build logic into Makefile for dependency resolution
* Core: Make global explorers available to initial manifest (Arkaitz Jimenez)
* Core: Change execution order to run object as one unit
* Core: Change execution order to run object as one unit (Nico Schottelius)
* Documentation: Improved documentation (Tomáš Pospíšek)
* New Remote Example: Add support for sudo operations (Chase James)
* New Type: __update_alternatives
* New Type: __cdist
* New Type: __update_alternatives (Nico Schottelius)
* New Type: __cdist (Nico Schottelius)
* Type __apt_ppa: Fix comparison operator (Tyler Akins)
* Type __start_on_boot: Archlinux changed to use systemd - adapt type
* Type __start_on_boot: Archlinux changed to use systemd - adapt type (Nico Schottelius)
* Type __git: Missing quotes added (Chase James)
* Type __postgres_database: Make state parameter optional (Chase James)
* Type __postgres_role: Make state parameter optional, fix password bug (Chase James)
* Type __process: Make state parameter optional
* Type __cron: Simplyfied and syntax change
* Type __process: Make state parameter optional (Nico Schottelius)
* Type __cron: Simplyfied and syntax change (Nico Schottelius)
2.1.1: 2013-04-08
* Core: Use dynamic dependency resolver to allow indirect self dependencies
* Core: Use dynamic dependency resolver to allow indirect self dependencies (Nico Schottelius)
* Core: Remove umask call - protect /var/lib/cdist only (Arkaitz Jimenez)
* Explorer os: Added Slackware support (Eivind Uggedal)
* Type __git: Support mode and fix owner/group settings (contradict)
@ -238,90 +297,90 @@ Changelog
* Type __user: Add support for creating user home (Arkaitz Jimenez)
2.1.0: 2012-12-09
* Core: Ensure global explorers are executable
* Core: Ensure global explorers are executable (Nico Schottelius)
* Core: Ensure type explorers are executable (Steven Armstrong)
* New Type: __git
* New Type: __git (Nico Schottelius)
* New Type: __ssh_authorized_keys (Steven Armstrong)
* New Type: __user_groups (Steven Armstrong)
* Type __rvm_gemset: Change parameter "default" to be boolean
* Type __rvm_gemset: Change parameter "default" to be boolean (Nico Schottelius)
* Type __user: Remove --groups support (now provided by __user_groups)
* Type __apt_ppa: Bugfix: Installeded ppa detection (Steven Armstrong)
* Type __jail: Change optional parameter "started" to boolean "stopped" parameter,
change optional parameter "devfs-enable" to boolean "devfs-disable" parameter and
change optional parameter "onboot" to boolean.
* Type __package_pip: Bugfix: Installeded the package, not pyro
* Remove Type __ssh_authorized_key: Superseeded by __ssh_authorized_keys
change optional parameter "onboot" to boolean. (Nico Schottelius)
* Type __package_pip: Bugfix: Installeded the package, not pyro (Nico Schottelius)
* Remove Type __ssh_authorized_key: Superseeded by __ssh_authorized_keys (Nico Schottelius)
* Support for CDIST_PATH (Steven Armstrong)
2.1.0pre8: 2012-11-15
* Type cleanup: __apt_ppa, __apt_ppa_update_index, __file,
__ssh_authorized_key, __timezone, all install types (Steven Armstrong)
* Types: Remove all parameter changing code
* Type __rvm_ruby: Change parameter "default" to be boolean
* Documentation: Web documentation clean up
* Types: Remove all parameter changing code (Nico Schottelius)
* Type __rvm_ruby: Change parameter "default" to be boolean (Nico Schottelius)
* Documentation: Web documentation clean up (Nico Schottelius)
2.1.0pre7: 2012-11-07
* Core: All unit tests restored back to working
* Core: Print error message when missing the initial manifest
* Core: All unit tests restored back to working (Nico Schottelius)
* Core: Print error message when missing the initial manifest (Nico Schottelius)
2.1.0pre6: 2012-11-05
* New Example: Turn remote calls into local calls (used for unittesting)
* Core: Export PYTHONPATH, it's also needed by emulator
* Bugfix Type __rvm_ruby: Add clean package dependencies
* Bugfix Type __rvm_gem: Run rvm as user, not as root
* Cleanup Type __rvm, __rvm_gemset: Use shortcut version
* Bugfix __rvm_gemset: Correctly check for gemsets
* New Example: Turn remote calls into local calls (used for unittesting) (Nico Schottelius)
* Core: Export PYTHONPATH, it's also needed by emulator (Nico Schottelius)
* Bugfix Type __rvm_ruby: Add clean package dependencies (Nico Schottelius)
* Bugfix Type __rvm_gem: Run rvm as user, not as root (Nico Schottelius)
* Cleanup Type __rvm, __rvm_gemset: Use shortcut version (Nico Schottelius)
* Bugfix __rvm_gemset: Correctly check for gemsets (Nico Schottelius)
* Cleanup Type __postgres_database, __postgres_role: Reference each other
in documentation
* Cleanp Type __postgres_role: Use boolean parameters where appropriate
* Cleanp Type __postgres_role: Use shortcut version
in documentation (Nico Schottelius)
* Cleanp Type __postgres_role: Use boolean parameters where appropriate (Nico Schottelius)
* Cleanp Type __postgres_role: Use shortcut version (Nico Schottelius)
2.1.0pre5: 2012-11-01
* Core: First round of tests updated to work with multiple configuration directories
* Core: First round of tests updated to work with multiple configuration directories (Nico Schottelius)
2.1.0pre4: 2012-10-31
* Dist: PyPi: Moved cdist.py to script/cdist to avoid double import
* Core: Added support for multiple configuration directories (no documentation)
* Dist: PyPi: Moved cdist.py to script/cdist to avoid double import (Nico Schottelius)
* Core: Added support for multiple configuration directories (no documentation) (Nico Schottelius)
2.1.0pre3: 2012-10-30
* Dist: PyPi: Types and explorer included as package data
* Dist: PyPi: Types and explorer included as package data (Nico Schottelius)
2.1.0pre2: 2012-10-26
* Dist: PyPi: Add conf/ directory to distribution
* Dist: Initial support for archlinux packaging
* Dist: PyPi: Add conf/ directory to distribution (Nico Schottelius)
* Dist: Initial support for archlinux packaging (Nico Schottelius)
2.1.0pre1: 2012-10-26
* Core: Removed obsolete variable __self
* Removed type __addifnosuchline (replaced by __line)
* Removed type __removeline (replaced by __line)
* Type __directory: Parameter --parents and --recursive are now boolean
* Core: Removed obsolete variable __self (Nico Schottelius)
* Removed type __addifnosuchline (replaced by __line) (Nico Schottelius)
* Removed type __removeline (replaced by __line) (Nico Schottelius)
* Type __directory: Parameter --parents and --recursive are now boolean (Nico Schottelius)
* Type __package_apt, __package_luarocks, __package_opkg,
__package_pacman, __package_pkg_freebsd, __package_pkg_openbsd,
__package_rubygem, __package_yum, __process:
Parameter state accepts only "present" and "absent"
* Dist: Initial support for pypi packaging
Parameter state accepts only "present" and "absent" (Nico Schottelius)
* Dist: Initial support for pypi packaging (Nico Schottelius)
2.0.15: 2012-11-02
* Core: Make variable __object_name available in type explorers (Steven Armtrong)
* New Type: __qemu_img
* New Type: __line
* New Type: __qemu_img (Nico Schottelius)
* New Type: __line (Nico Schottelius)
* New Type: __pf_apply (Jake Guffey)
* New Type: __pf_ruleset (Jake Guffey)
* Bugfix Type: __rvm: Make type work if rvm is already installed
* Bugfix Type: __rvm: Make type work if rvm is already installed (Nico Schottelius)
2.0.14: 2012-09-07
* Bugfix Type: __jail: Use correct variable (Jake Guffey)
* Change Type: __jail: Parameter jailbase now optional (Jake Guffey)
* Bugfix Type: __user: Use passwd database on FreeBSD (Jake Guffey)
* Bugfix Type: __start_on_boot: Do not change parameters
* Bugfix Type: __start_on_boot: Do not change parameters (Nico Schottelius)
* Feature __user: Added support for BSDs (Sébastien Gross)
* Feature __group: Added support for FreeBSD (Jake Guffey)
* New Type: __package_zypper
* Feature Types: Initial Support for SuSE Linux
* New Type: __package_zypper (Nico Schottelius)
* Feature Types: Initial Support for SuSE Linux (Nico Schottelius)
2.0.13: 2012-06-05
* Bugfix __ssh_authorized_key: Ensure it sets proper group (contradict)
* Bugfix __addifnosuchline: Fixed quotes/interpolation bug ("a b" became "a b")
* Bugfix __addifnosuchline: Fixed quotes/interpolation bug ("a b" became "a b") (Nico Schottelius)
* New Explorer: interfaces (Sébastien Gross)
* Feature core: Support reading from stdin in types (Steven Armstrong)
* Feature core: Support multiple parameters for types (Steven Armstrong)
@ -329,24 +388,24 @@ Changelog
2.0.12: 2012-05-29
* Core: Correctly raise error on Python < 3.2 (Steven Armtrong)
* Core: Add support for --remote-exec and --remote-copy parameters
* Core: Add support for --remote-exec and --remote-copy parameters (Nico Schottelius)
* Documentation: Debian Squeeze hints (Sébastien Gross)
2.0.11: 2012-05-23
* Fix insecure file/directory creation: Use umask 077
* Fix insecure file/directory creation: Use umask 077 (Nico Schottelius)
2.0.10: 2012-05-18
* Cleanup __group: No getent gshadow in old Redhat, use groupmod -g
(Matt Coddington)
* Bugfix __package_yum: Missing cat
* Bugfix __package_yum: Missing cat (Nico Schottelius)
* Bugfix __start_on_boot: Correctly use sed and quotes (Steven Armstrong)
* Feature __file: Support for --state exists (Steven Armstrong)
* Feature core: Make variable __manifest available to type manifests
* Feature core: Make variable __manifest available to type manifests (Nico Schottelius)
* Feature core: Correct parent dependency handling (Steven Armstrong)
* Bugfix several types: Fix sed for FreeBSD (Istvan Beregszaszi)
* New Type: __jail (Jake Guffey)
* Change Type: __rvm*: --state present/absent not installed/remvoed (Evax Software)
* Bugfix Type: __cron: Hide error output from crontab
* Bugfix Type: __cron: Hide error output from crontab (Nico Schottelius)
* Various smaller bugfixes (Chris Lamb)
2.0.9: 2012-03-12
@ -360,19 +419,19 @@ Changelog
* Feature __start_on_boot: Support for OpenWRT (Giel van Schijndel)
* Feature __start_on_boot: Support for Amazon Linux (Matt Coddington)
* New Example: Use rsync to backup files (Matt Coddington)
* Feature core: Exit non-zero, if configuration failed
* Feature core: Exit non-zero, if configuration failed (Nico Schottelius)
* Documentation: Describe how to do templating (Aurélien Bondis)
2.0.8: 2012-02-20
* Bugfix core: Remove another nasty traceback when sending SIGINT (aka Ctrl-C)
* Cleanup: Better hint to source of error
* Cleanup: Do not output failing script, but path to script only
* Bugfix core: Remove another nasty traceback when sending SIGINT (aka Ctrl-C) (Nico Schottelius)
* Cleanup: Better hint to source of error (Nico Schottelius)
* Cleanup: Do not output failing script, but path to script only (Nico Schottelius)
* Cleanup: Remove support for __debug variable in manifests (Type != Core
debugging)
debugging) (Nico Schottelius)
* Cleanup: Change __package_* to support absent/present (default state
name now). The values removed/installed will be removed in cdist 2.1.
name now). The values removed/installed will be removed in cdist 2.1. (Nico Schottelius)
* Cleanup: Change __process to support absent/present (default state
name now). The values running/stopped will be removed in cdist 2.1.
name now). The values running/stopped will be removed in cdist 2.1. (Nico Schottelius)
* Feature Core: Support boolean parameters (Steven Armstrong)
2.0.7: 2012-02-13
@ -381,9 +440,9 @@ Changelog
* Bugfix __link: Properly handle existing links (Steven Armstrong)
* Bugfix __key_value: More robust implementation (Steven Armstrong)
* Bugfix __user: Fix for changing a user's group by name (Matt Coddington)
* New Type: __package_pip
* New Type: __package_pip (Nico Schottelius)
* Bugfix/Cleanup: Correctly allow Object ID to start and end with /, but
not contain //.
not contain //. (Nico Schottelius)
2.0.6: 2012-01-28
* Bugfix __apt_ppa:
@ -402,8 +461,8 @@ Changelog
2.0.5: 2012-01-18
* Bugfix __key_value: Use correct delimiters
(Steven Armstrong, Daniel Maher)
* Cleanup: Explicitly require Python >= 3.2 (do not fail implicitly)
* Documentation: (Re)write of the tutorial
* Cleanup: Explicitly require Python >= 3.2 (do not fail implicitly) (Nico Schottelius)
* Documentation: (Re)write of the tutorial (Nico Schottelius)
* Feature: __addifnosuchline supports matching on
regular expressions (Daniel Maher)
* Feature: __directory, __file, __link:
@ -412,11 +471,11 @@ Changelog
* New Type: __cdistmarker (Daniel Maher)
2.0.4: 2011-11-18
* Bugfix core: Remove traceback when sending SIGINT (aka Ctrl-C)
* Bugfix core: Remove traceback when sending SIGINT (aka Ctrl-C) (Nico Schottelius)
* Bugfix core: Accept parameters with - in the name (Steven Armstrong)
* Cleanup: __object_fq variable removed (never used)
* Cleanup: Environment variable __self DEPRECATED, use __object_name instead
* Cleanup: Environment variable __self scheduled for removal in cdist 2.1
* Cleanup: __object_fq variable removed (never used) (Nico Schottelius)
* Cleanup: Environment variable __self DEPRECATED, use __object_name instead (Nico Schottelius)
* Cleanup: Environment variable __self scheduled for removal in cdist 2.1 (Nico Schottelius)
* Documentation: Many examples for use of __remote_* (Steven Armstrong)
* Feature: Automatically require all used objects (Steven Armstrong)
* New Type: __cron (Steven Armstrong)
@ -424,28 +483,28 @@ Changelog
2.0.3: 2011-10-18
* Improved logging, added --verbose, by more quiet by default
* Bugfix __user: Correct quoting (Steven Armstrong)
* Bugfix __addifnosuchline: Falsely exited
* Bugfix requirements: Restore original require="" behaviour
* Feature requirements: Check for broken object_ids and abort
* Bugfix __addifnosuchline: Falsely exited (Nico Schottelius)
* Bugfix requirements: Restore original require="" behaviour (Nico Schottelius)
* Feature requirements: Check for broken object_ids and abort (Nico Schottelius)
* Massive refactoring and unittesting introduced (Steven Armstrong)
2.0.2: 2011-09-27
* Add support for detection of OpenWall Linux (Matthias Teege)
* Add support for __debug variable in manifests
* Bugfix core: Various issues with type emulator
* Add support for __debug variable in manifests (Nico Schottelius)
* Bugfix core: Various issues with type emulator (Nico Schottelius)
2.0.1: 2011-09-23
* Bugfix core: Always print source of error in case of exec errors
* Bugfix core: Various smaller bugs in string concatenation
* Feature: Add marker "changed" to changed objects
* Bugfix core: Always print source of error in case of exec errors (Nico Schottelius)
* Bugfix core: Various smaller bugs in string concatenation (Nico Schottelius)
* Feature: Add marker "changed" to changed objects (Nico Schottelius)
2.0.0: 2011-09-16
* New Type: __package_rubygem (Chase Allen James)
* __self replaced by __object_fq
* Rewrote cdist in Python
* __self replaced by __object_fq (Nico Schottelius)
* Rewrote cdist in Python (Nico Schottelius)
1.7.1: 2011-07-26
* Documentation: Add explorers to reference
* Documentation: Add explorers to reference (Nico Schottelius)
* Documentation: Typo cleanup (Derek Brost)
* Type __key_value: Bugfix (Steven Armstrong)
* New Type: __postgres_role (Steven Armstrong)
@ -455,42 +514,42 @@ Changelog
* Bugfix type __package_yum: Fix redhat support (Ramon Salvadó)
* Improved type __package_yum: Add centos support (Ramon Salvadó)
* New Type: __timezone (Ramon Salvadó)
* Renamed explorer: hardware_type to machine
* Core: Do not execute empty code fragments
* Renamed explorer: hardware_type to machine (Nico Schottelius)
* Core: Do not execute empty code fragments (Nico Schottelius)
1.6.2: 2011-04-19
* Core: Introduce __cdist_tmp_base_dir
* Core: Cleanup and enhance cdist-type-template
* Core: cdist-mass-deploy: Report failed cdist-deploy-to instances
* Core: Introduce __cdist_tmp_base_dir (Nico Schottelius)
* Core: Cleanup and enhance cdist-type-template (Nico Schottelius)
* Core: cdist-mass-deploy: Report failed cdist-deploy-to instances (Nico Schottelius)
* New Type: __ssh_authorized_key (Aurélien Bondis)
1.6.1: 2011-04-07
* Improved logging: Show code responsible for abort
* Improved logging: Consistently prefix with current object or core
* Bugfix: Type __debconf_set_selections used wrong contens for selection
* Bugfix: Don't fail, if cache directory is not existing
* Bugfix: __user and __group exited non-zero if no change was necessary
* New Explorer: hardware_type
* Improved logging: Show code responsible for abort (Nico Schottelius)
* Improved logging: Consistently prefix with current object or core (Nico Schottelius)
* Bugfix: Type __debconf_set_selections used wrong contens for selection (Nico Schottelius)
* Bugfix: Don't fail, if cache directory is not existing (Nico Schottelius)
* Bugfix: __user and __group exited non-zero if no change was necessary (Nico Schottelius)
* New Explorer: hardware_type (Nico Schottelius)
* New Type: __package_pkg_openbsd (Andi Brönnimann)
* New Type: __autofs_map (Steven Armstrong)
* New Type: __autofs_master (Steven Armstrong)
1.6.0: 2011-04-06
* New Type: __package_yum
* New type: __debconf_set_selections
* New explorer: os_version
* Bugfix: Type __group failed in case of __group NAME syntax
* New Type: __package_yum (Nico Schottelius)
* New type: __debconf_set_selections (Nico Schottelius)
* New explorer: os_version (Nico Schottelius)
* Bugfix: Type __group failed in case of __group NAME syntax (Nico Schottelius)
* Bugfix: __package* types: consistently name --state removed instead of
uninstalled or deinstalled
* Type __package: Added Fedora support
* Type __package_apt: Removed --preseed support
* Explorer os gained Fedora support
* Simplified types __user and __group
* New helper binary: cdist-mass-deploy
uninstalled or deinstalled (Nico Schottelius)
* Type __package: Added Fedora support (Nico Schottelius)
* Type __package_apt: Removed --preseed support (Nico Schottelius)
* Explorer os gained Fedora support (Nico Schottelius)
* Simplified types __user and __group (Nico Schottelius)
* New helper binary: cdist-mass-deploy (Nico Schottelius)
1.5.0: 2011-04-01
* Add basic cache functionality
* New type: __process
* Add basic cache functionality (Nico Schottelius)
* New type: __process (Nico Schottelius)
* Restructured execution: (Steven Armstrong)
Orientate processing on objects, resolve dependencies and
ensure correct execution order.
@ -500,77 +559,77 @@ Changelog
1.4.1: 2011-03-25
* New type: __key_value (Steven Armstrong)
* New type: __apt_ppa (Steven Armstrong)
* Documentation: Manpage generation cleanup
* Documentation: Manpage generation cleanup (Nico Schottelius)
* Documentation: Manpage fix for __apt_ppa
1.4.0: 2011-03-24
* Add --recursive to __directory
* Move cdist generated stuff to .cdist of an object
* Allow objects to be redefined
* Add --recursive to __directory (Nico Schottelius)
* Move cdist generated stuff to .cdist of an object (Nico Schottelius)
* Allow objects to be redefined (Nico Schottelius)
1.3.2: 2011-03-21
* Add --source to __motd
* Add --preseed to __package_apt
* Include HTML documentation of manpages and publish them
* Add --source to __motd (Nico Schottelius)
* Add --preseed to __package_apt (Nico Schottelius)
* Include HTML documentation of manpages and publish them (Nico Schottelius)
1.3.1: 2011-03-21
* Document: cdist-type-build-emulation
* Document: cdist-type-emulator
* Document: cdist-remote-explorer-run
* Fix dependencies in cdist-code-run
* Fix dependencies in cdist-manifest-run-all
* Add --source to __issue and fix os check
* Document: cdist-type-build-emulation (Nico Schottelius)
* Document: cdist-type-emulator (Nico Schottelius)
* Document: cdist-remote-explorer-run (Nico Schottelius)
* Fix dependencies in cdist-code-run (Nico Schottelius)
* Fix dependencies in cdist-manifest-run-all (Nico Schottelius)
* Add --source to __issue and fix os check (Nico Schottelius)
1.3.0: 2011-03-20
* Add support for local and remote code generation and execution
* Bugfix: Remove obsolete $@ call in cdist-remote-explorer-run
* Bugfix: Correct manpage for __removeline (broke manpage generation)
* Add support for local and remote code generation and execution (Nico Schottelius)
* Bugfix: Remove obsolete $@ call in cdist-remote-explorer-run (Nico Schottelius)
* Bugfix: Correct manpage for __removeline (broke manpage generation) (Nico Schottelius)
1.2.0: 2011-03-19
* Added dependencies (see cdist-type(7))
* Added dependencies (see cdist-type(7)) (Nico Schottelius)
* New type: __removeline (Daniel Roth)
* New type: __group (Steven Armstrong)
* New type: __user (Steven Armstrong)
* Documentation: cdist-run-remote
* Documentation: cdist-code-run-all
* Documentation: cdist-object-gencode
* Documentation: cdist-explorer-run-global
* Documentation: cdist-manifest-run-init
* Documentation: cdist-manifest-run-all
* Documentation: cdist-object-gencode-all
* Documentation: cdist-manifest-run
* Documentation: cdist-run-remote (Nico Schottelius)
* Documentation: cdist-code-run-all (Nico Schottelius)
* Documentation: cdist-object-gencode (Nico Schottelius)
* Documentation: cdist-explorer-run-global (Nico Schottelius)
* Documentation: cdist-manifest-run-init (Nico Schottelius)
* Documentation: cdist-manifest-run-all (Nico Schottelius)
* Documentation: cdist-object-gencode-all (Nico Schottelius)
* Documentation: cdist-manifest-run (Nico Schottelius)
1.1.0: 2011-03-16
* Replace type __file with __file, __directory, __link
* Documentation: cdist-env
* Documentation: cdist-config
* Documentation: cdist-dir
* Documentation: cdist-quickstart
* Replace type __file with __file, __directory, __link (Nico Schottelius)
* Documentation: cdist-env (Nico Schottelius)
* Documentation: cdist-config (Nico Schottelius)
* Documentation: cdist-dir (Nico Schottelius)
* Documentation: cdist-quickstart (Nico Schottelius)
1.0.4: 2011-03-15
* New type: __motd
* New type: __motd (Nico Schottelius)
* New type: __addifnosuchline (Daniel Roth)
* New type: __user
* Document type: __issue
* Document type: __package
* Document type: __package_pacman
* Document type: __package_apt
* New parameter for __file: --owner and --group
* New type: __user (Nico Schottelius)
* Document type: __issue (Nico Schottelius)
* Document type: __package (Nico Schottelius)
* Document type: __package_pacman (Nico Schottelius)
* Document type: __package_apt (Nico Schottelius)
* New parameter for __file: --owner and --group (Nico Schottelius)
1.0.3: 2011-03-11
* Update regexp used for sane characters
* Allow types without parameters
* Allow type to be singleton
* Type __file learned --type symlink
* Update regexp used for sane characters (Nico Schottelius)
* Allow types without parameters (Nico Schottelius)
* Allow type to be singleton (Nico Schottelius)
* Type __file learned --type symlink (Nico Schottelius)
1.0.2: 2011-03-09
* Add manpages: cdist-type, cdist-type__file, cdist-reference, cdist-explorer
* Make doc/man/ usable as MANPATH entry
* Add manpages: cdist-type, cdist-type__file, cdist-reference, cdist-explorer (Nico Schottelius)
* Make doc/man/ usable as MANPATH entry (Nico Schottelius)
1.0.1: 2011-03-08
* Added cdist-type-template including manpage
* Fix manpage building
* Add new manpages: cdist-stages, cdist-bin-transfer
* Added cdist-type-template including manpage (Nico Schottelius)
* Fix manpage building (Nico Schottelius)
* Add new manpages: cdist-stages, cdist-bin-transfer (Nico Schottelius)
1.0.0: 2011-03-07
* Initial release
* Initial release (Nico Schottelius)

View file

@ -0,0 +1,18 @@
cdist preos keyramfs --keyfile --keyfile
[17:51] freiheit:vcs% mkdir preos-keys
[17:51] freiheit:vcs% mkdir -p preos-keys/root/.ssh
[17:56] freiheit:vcs%
chown root:root -R preos-keys/
chmod 0600 preos-keys/root/.ssh/authorized_keys
chmod 0700 preos-keys/root/
chmod 0700 preos-keys/root/.ssh/
[18:20:17] freiheit:/home/users/nico/.ungleich/ungleich/vcs/preos-keys# find . | cpio -H newc -o | gzip -9 > ../initramfs.cpio.gz
4 blocks
[18:21:08] freiheit:/home/users/nico/.ungleich/ungleich/vcs/preos-keys#

View file

@ -0,0 +1,104 @@
- logging/cache destination
local:
~/.cdist/log/by-host/$__target/host/config/YYYY/MM/DD/hhmmss/
~/.cdist/log/by-session/YYYY/MM/DD/hhmmss/$__target_host/
config/
install/
export/
remote:
/var/lib/cdist/YYYY-MM-DD-hhmmss-$sourcehost.$pid
rm old directories on remote side
- support for tags
- for partial configuration
- supports also install
- on object definition, define
- a) don't care (i.e. no tags)
- b) require tag (only if this tag is setup)
- c) require not tag (only if this tag is *not* setup)
- d) what if both given (conflicting)
- names for parameters:
- cdist config / cdist type
--if-tag / --not-if-tag / --require-tag
--not-if-tag
- logging
- command line
- stdin of cdist
- stdout/stderr/stdin of types
- new: stdout/stderr
- initial manifest
- if coming from stdin
- logging configurable
- to be discussed
- sudo remote
- cp to tmp & mv
- umask issue?
- install
- via tagged types
-
- export
- one /export script per type
- exports of type running after object's code is done
- global export should also exist after everything
- PR & merge
- change DONE status to CODE_DONE
- introduce EXPORT_DONE
- preos
- merge with debian support only
- we are open to support --os-type later
- stackable remotes
- change API for remote_exec and remote_copy
- new minor version
- PR & merge
- locking
- optional
- remote lock
- based on $(ls /var/lib/cdist/) > 0
- ideas for parallelisation
- run explorer in parallel
- type
- object
- objects without dependencies can be run in parallel
- connection test
- just implement
- multi user environment
- not really needed [at the moment]
- can be implemented by
- git branches
- setting the output dir
- python2 support with __future__
- steven votes against it
- nico does not care too much to object
- pull based
- sshd / stdin + stdout
- use Use ProxyCommand with stdin/stdout
- http://www.nico.schottelius.org/blog/openssh-6.2-add-callback-functionality-using-dynamic-remote-port-forwarding/
- cdist grant-pull-access <targethost>
- generate user
- ssh pubkeypair
- call wraper script on targethost
- it is shell!
- ssh cdistuser@controlhost
- config replay/redo/undo
- not now
- have a new discussion about handling uris

View file

@ -0,0 +1,29 @@
1. Manifests need type explorers to be run before
Only this way the manifest can use the values
2. Type explorers can depend on the (successful) execution of other objects
A type explorer may lookup values (ownership, size, processes, etc.)
that are depending on the code of other objects.
3. The 'require="a" b' dependency specifies only that execution of b needs to wait until a is finished
Other requirements given at another position may not be
executed before b, as cdist interprets require="a" as
"a is everything that is needed to realise b"
4. The 'require' state is thus *not* suitable to trigger reloads
A type b, which uses the require="" statement to wait for all
require="" dependencies, may be executed in an incomplete
status.
5. Depending on multiple dependencies defined at different locations requires all objects to be present
Because otherwise the dependent object cannot be sure that the
list of objects it waits for is complete.
6. If a statement requires all objects to be present, all manifests must have run already.
If all manifests have run already, also all type explorers have run already (#1).
If all type explorers have run already, some objects may have been finished completly already (#2).
7. Because of #4 and #6, we need to introduce another dependency that allows reloading after
8. Because the object could be finished already due to a 'require' dependency, we need another script
Maybe "gen-post-run-local", "gen-post-run-remote"

View file

@ -5,10 +5,6 @@ Feel free to pick one!
CORE
----
- support default parameter
- document and add paremeters for remote-copy and remote-exec!
- remove hack, make a feature of it
- remove var=foo calls on remote side. Use -o SendEnv (yeah, see ssh_config(5))
TESTS
@ -23,9 +19,6 @@ TESTS
USER INTERFACE
--------------
- How to cleanly implement "restart service if config file changed"
-> document
- Cache
- add example how to use
- export variable $__cache
@ -45,7 +38,6 @@ TYPES
- Add testing framework (proposed by Evax Software)
- __user
add option to include --create-home
- Merge __addifnosuchline and __removeline into __line + --state present|absent
- __cron: Support --file to be used instead of user cron (probably direct support
of /etc/cron.d)

View file

@ -203,10 +203,10 @@ __global::
Directory that contains generic output like explorer.
Available for: initial manifest, type manifest, type gencode, shell
__messages_in::
File to read messages from
File to read messages from.
Available for: initial manifest, type manifest, type gencode
__messages_out::
File to write messages
File to write messages.
Available for: initial manifest, type manifest, type gencode
__object::
Directory that contains the current object.

View file

@ -50,7 +50,7 @@ else
name="$__object_id"
fi
# Except dpkg failing, if package is not known / installed
# Expect dpkg failing, if package is not known / installed
dpkg -s "$name" 2>/dev/null || exit 0
--------------------------------------------------------------------------------
@ -64,5 +64,5 @@ SEE ALSO
COPYING
-------
Copyright \(C) 2010-2012 Nico Schottelius. Free use of this software is
Copyright \(C) 2010-2014 Nico Schottelius. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).

View file

@ -110,6 +110,7 @@ setup the variable "require" to contain the requirements. Multiple
requirements can be added white space separated.
--------------------------------------------------------------------------------
1 # No dependency
2 __file /etc/cdist-configured
3
@ -121,21 +122,43 @@ requirements can be added white space separated.
9 require="__file/etc/cdist-configured __link/tmp/cdist-testfile" \
10 __file /tmp/cdist-another-testfile
--------------------------------------------------------------------------------
Above the "require" variable is only set for the command that is
immediately following it. Dependencies should allways be declared that way.
immediately following it. Dependencies should always be declared that way.
On line 4 you can see that the instantion of a type "__link" object needs
On line 4 you can see that the instantion of a type "\__link" object needs
the object "__file/etc/cdist-configured" to be present, before it can proceed.
This also means that the "__link" command must make sure, that either
"__file/etc/cdist-configured" allready is present, or, if it's not, it needs
This also means that the "\__link" command must make sure, that either
"\__file/etc/cdist-configured" allready is present, or, if it's not, it needs
to be created. The task of cdist is to make sure, that the dependency will be
resolved appropriately and thus "__file/etc/cdist-configured" be created
resolved appropriately and thus "\__file/etc/cdist-configured" be created
if necessary before "__link" proceeds (or to abort execution with an error).
If you really need to make all types depend on a common dependency, you can
export the "require" variable as well. But then, if you need to add extra
dependencies to a specific type, you have to make sure that you append these
to the globally already defined one.
--------------------------------------------------------------------------------
# First of all, update the package index
__package_update_index
# Upgrade all the installed packages afterwards
require="__package_update_index" __package_upgrade_all
# Create a common dependency for all the next types so that they get to
# be executed only after the package upgrade has finished
export require="__package_upgrade_all"
# Ensure that lighttpd is installed after we have upgraded all the packages
__package lighttpd --state present
# Ensure that munin is installed after lighttpd is present and after all
# the packages are upgraded
require="$require __package/lighttpd" __package munin --state present
--------------------------------------------------------------------------------
All objects that are created in a type manifest are automatically required
from the type that is calling them. This is called "autorequirement" in
cdist jargon.
@ -153,8 +176,6 @@ automatically depends on the previously created object.
It essentially helps you to build up blocks of code that build upon each other
(like first creating the directory xyz than the file below the directory).
THIS IS A BETA FEATURE AND MAY BE REMOVED OR CHANGED AT ANY TIME.
OVERRIDES
---------
@ -171,8 +192,6 @@ If CDIST_OVERRIDE and CDIST_ORDER_DEPENDENCY are set for an object,
CDIST_ORDER_DEPENDENCY will be ignored, because adding a dependency in case of
overrides would result in circular dependencies, which is an error.
THIS IS A BETA FEATURE AND MAY BE REMOVED OR CHANGED AT ANY TIME.

View file

@ -57,6 +57,48 @@ if grep -q "^__your_type/object/id:something" "$__messages_in"; then
fi
--------------------------------------------------------------------------------
Some real life examples:
--------------------------------------------------------------------------------
# Reacting on changes from block for keepalive
if grep -q "^__block/keepalive-vrrp" "$__messages_in"; then
echo /etc/init.d/keepalived restart
fi
# Reacting on changes of configuration files
if grep -q "^__file/etc/one" $__messages_in; then
echo 'for init in /etc/init.d/opennebula*; do $init restart; done'
fi
--------------------------------------------------------------------------------
Restart sshd on changes
--------------------------------------------------------------------------------
os="$(cat "$__global/explorer/os")"
case "$os" in
centos|redhat|suse)
restart="/etc/init.d/sshd restart"
;;
debian|ubuntu)
restart="/etc/init.d/ssh restart"
;;
*)
cat << eof >&2
Unsupported os $os.
If you would like to have this type running on $os,
you can either develop the changes and send a pull
request or ask for a quote at www.ungleich.ch
eof
exit 1
;;
esac
if grep -q "^__key_value/PermitRootLogin" "$__messages_in"; then
echo $restart
fi
--------------------------------------------------------------------------------
SEE ALSO
--------

View file

@ -100,7 +100,7 @@ echo use_ssl >> cdist/conf/type/__nginx_vhost/parameter/boolean
USING PARAMETERS
----------------
The parameters given to a type can be accessed and used in all type scripts
(e.g manifest, gencode-*, explorer/*). Note that boolean parameters are
(e.g manifest, gencode, explorer). Note that boolean parameters are
represented by file existence. File exists -> True,
file does not exist -> False
@ -281,7 +281,7 @@ on the target, there must be another type that provides this tool and the first
type should create an object of the specific type.
If your type wants to save temporary data, that may be used by other types
later on (for instance __file), you can save them in the subdirectory
later on (for instance \__file), you can save them in the subdirectory
"files" below $__object (but you must create it yourself).
cdist will not touch this directory.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -137,7 +137,7 @@ immediately.
To install cdist, execute the following commands:
git clone git://git.schottelius.org/cdist
git clone https://github.com/telmich/cdist.git
cd cdist
export PATH=$PATH:$(pwd -P)/bin