cdist-backup/cdist/conf/type
Steven Armstrong b17a1f0edb removing and adding keys must be atomic
If we delegate this to multiple seprarate objects (e.g. using __line) and the
config run is interrupted after applying only some of them we may leave the
target in some random state.
We may have even locked ourself out of the target.

So remove and add keys ourself so either none are all changes are
applied.

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2014-09-27 11:40:06 +02:00
..
__apt_key let the user decide what is sane and what not 2014-02-05 21:07:33 +01:00
__apt_key_uri /wget/curl/ 2014-02-05 21:12:22 +01:00
__apt_norecommends be nice to them users 2014-02-05 21:17:15 +01:00
__apt_ppa python-software-properties still needed for older ubuntu versions 2014-01-22 21:21:34 +01:00
__apt_source remove legacy FIXME 2014-02-05 21:18:47 +01:00
__apt_update_index __apt_update_index: ignore top level directory 2012-11-07 16:57:30 +01:00
__block no need to double escape a trailing $; $ by itself is not special in any way 2014-07-28 15:05:45 +02:00
__ccollect_source Fixed wrong mode format for stat on OSX. 2014-06-10 19:48:02 +02:00
__cdist parameter default handling in __cdist type corrected 2014-01-21 22:24:35 +01:00
__cdistmarker Fix typo in cdistmarker doc 2014-09-13 23:31:38 +01:00
__cron __cron should replace entrys with his id, try 2 2014-01-14 10:11:33 +01:00
__debconf_set_selections fix typos in __debconf_set_selections 2014-01-29 23:19:07 +01:00
__directory Fixed wrong mode format for stat on OSX. 2014-06-10 19:48:02 +02:00
__dog_vdi ++;; 2014-03-31 23:58:58 +02:00
__file Fixed wrong mode format for stat on OSX. 2014-06-10 19:48:02 +02:00
__git pass owner/group/mode to __directory as well 2014-02-14 20:44:51 +01:00
__group documented all messages which I have found via grep 2014-01-17 10:27:21 +01:00
__hostname +suse support in __locale and __hostname 2014-06-10 23:50:53 +02:00
__iptables_apply add reset to iptables init.d script 2014-06-26 15:24:42 +02:00
__iptables_rule Docfix: ssh service listen on port 22 2014-02-23 20:22:06 -07:00
__issue indentions, whitespace 2012-11-07 17:57:47 +01:00
__jail Updated man page 2014-04-07 09:44:28 -04:00
__key_value renamed ll to lastline, hope its now clear what the var is for .. 2014-03-26 13:58:29 +01:00
__line dont fail if result is empty file 2014-02-22 00:57:00 +01:00
__link ignore trailing slashes for comparison of source 2014-03-11 22:16:08 +01:00
__locale also support archlinux in __locale 2014-08-17 12:03:46 +02:00
__motd have __motd regenerate on Debian/Ubuntu 2013-09-02 11:26:32 +02:00
__mount redirect stderr to /dev/null 2014-01-16 12:00:24 +01:00
__mysql_database make package_data work 2012-10-29 22:50:27 +01:00
__package fix typo on optional parameter which is only a passthrough to 2014-01-07 13:23:39 +01:00
__package_apt note hint from Axel Beckert for debian prios 2013-12-07 00:13:28 +01:00
__package_emerge initial submit of __package_emerge type 2013-12-12 10:56:15 +01:00
__package_emerge_dependencies initial submit of type __package_emerge_dependencies 2013-12-12 10:59:45 +01:00
__package_luarocks documentation cleanups 2012-11-07 19:22:02 +01:00
__package_opkg use shortcut version in __package_opkg 2013-07-10 14:16:56 +02:00
__package_pacman documentation cleanups 2012-11-07 19:22:02 +01:00
__package_pip install the right package, not pyro... 2012-12-09 11:49:26 -08:00
__package_pkg_freebsd update __package* manpages 2012-11-07 18:15:15 +01:00
__package_pkg_openbsd escaped some variables in the gencode-remote output 2014-03-08 17:18:19 -07:00
__package_rubygem Revert "install rubygems for ubuntu/debian" 2014-01-08 11:09:01 +01:00
__package_yum add --url support for __package_yum 2014-05-20 07:43:11 +02:00
__package_zypper little changes for using default parameters correctly 2014-02-03 21:43:39 +01:00
__pf_apply make package_data work 2012-10-29 22:50:27 +01:00
__pf_ruleset Make state parameter optional for all types, fixes #131 2014-02-08 21:48:51 +01:00
__postfix postfix install works also on suse (SLES11) 2013-12-11 13:07:40 +01:00
__postfix_master make __postfix_* types depend on __postfix 2013-12-06 13:49:45 +01:00
__postfix_postconf type __postfix_postconf is tested and aproved to work on suse (SLES11) 2013-12-10 17:25:03 +01:00
__postfix_postmap make __postfix_* types depend on __postfix 2013-12-06 13:49:45 +01:00
__postfix_reload make __postfix_* types depend on __postfix 2013-12-06 13:49:45 +01:00
__postgres_database Make state parameter optional for all types, fixes #131 2014-02-08 21:48:51 +01:00
__postgres_role Make state parameter optional for all types, fixes #131 2014-02-08 21:48:51 +01:00
__process bugfix: make type actually work with --state absent 2014-02-01 22:46:36 +01:00
__qemu_img cleanups 2014-03-31 21:22:29 +02:00
__rbenv update rbenv type to cdist 3.0 style 2014-02-14 20:34:24 +01:00
__rvm Make state parameter optional for all types, fixes #131 2014-02-08 21:48:51 +01:00
__rvm_gem 2 more types for issue 131 2014-02-08 22:06:27 +01:00
__rvm_gemset Make state parameter optional for all types, fixes #131 2014-02-08 21:48:51 +01:00
__rvm_ruby Make state parameter optional for all types, fixes #131 2014-02-08 21:48:51 +01:00
__ssh_authorized_key removing and adding keys must be atomic 2014-09-27 11:40:06 +02:00
__ssh_authorized_keys fix that stupid stdin is truncated bug again 2014-09-25 16:35:19 +02:00
__ssh_dot_ssh +" 2014-06-16 08:02:41 +02:00
__start_on_boot suses chkconfig has the same name, but works different 2014-01-07 17:31:45 +01:00
__timezone suse support for __timezone 2014-06-10 23:15:21 +02:00
__update_alternatives use quiet mode by default 2013-06-19 18:51:23 +02:00
__user openbsd and freebsd both use the 'passwd' database 2014-03-02 17:34:36 -07:00
__user_groups little changes for using default parameters correctly 2014-02-03 21:43:39 +01:00
__yum_repo ++releasedate 2014-04-29 18:10:50 +02:00
__zypper_repo correct date of c 2014-06-25 00:18:41 +02:00
__zypper_service Merge branch 'bugfix__zypper' of https://github.com/dheule/cdist 2014-05-05 22:32:54 +02:00