Commit Graph

226 Commits

Author SHA1 Message Date
Nico Schottelius dbe65795f5 remove dry_run from object_run
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-05 15:27:34 +02:00
Nico Schottelius 5f318d5de3 print warning in case dry run is activated
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-05 15:12:49 +02:00
Nico Schottelius 5bad25cd6d add dry_run hint to verbose messages, not debug
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-05 15:02:36 +02:00
Nico Schottelius 3c14f7e2f5 add dry run hint
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-05 15:00:23 +02:00
Nico Schottelius ab50d8561b add new type: __cdist
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-07-04 14:34:17 +02:00
Nico Schottelius 9326adf34b fix refactor error
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-24 13:23:31 +02:00
Nico Schottelius 25bdcb1602 cleanup tests and ... - 100% green
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-21 22:39:20 +02:00
Nico Schottelius ef24ec4db8 port test_missing_requirements to config_install unit test
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-21 21:50:21 +02:00
Nico Schottelius e1d8645415 fix unit tests for config_install
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-21 21:48:15 +02:00
Nico Schottelius 4ec1afc47f also remove obsolete save_cache function
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-21 16:55:54 +02:00
Nico Schottelius 14a3bf7262 move save_cache into local
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-21 16:52:56 +02:00
Nico Schottelius 4758daa037 move types into conf/ dir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-21 16:38:50 +02:00
Nico Schottelius 347ff8900e split directory creating code off of init
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-21 16:35:19 +02:00
Nico Schottelius b1d661f4c0 merge ResolverTestCase and AutorequireTestCase into ExecutionOrderTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 11:30:20 +02:00
Nico Schottelius b2686f3b13 factor out iterate code to be able to test it for one, two, ... runs
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 11:24:47 +02:00
Nico Schottelius c5c5e7b89b remove requirement-finder tests - no need to test assignments and no wildcard support anymore
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 11:17:30 +02:00
Nico Schottelius 4ae241259f remove the old entries on change
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 09:20:14 +02:00
Nico Schottelius d78dc7af8b Merge branch '__cron-simplify' 2013-06-19 21:50:49 +02:00
Nico Schottelius e7527802a5 more hints for __debconf_set_selections
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 18:53:07 +02:00
Nico Schottelius 622cd398c6 use quiet mode by default
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 18:51:23 +02:00
Nico Schottelius 84f2ca0d1f add new type: __update_alternatives
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 18:49:43 +02:00
Nico Schottelius 137856002f Merge branch 'master' into __cron-simplify 2013-06-19 11:31:33 +02:00
Nico Schottelius 4ecffa7d59 fix typo in __process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 11:31:21 +02:00
Nico Schottelius fb40ba4d0f Merge branch 'master' into __cron-simplify 2013-06-19 11:20:25 +02:00
Nico Schottelius 135499f120 __process: make --state optional
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 11:19:45 +02:00
Nico Schottelius 1c94c615b1 __cron: remove parameter changing code, remove multiline code, remove early execution of included $() code, simplify __cron
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-19 10:55:07 +02:00
Nico Schottelius 1788b343d1 Merge branch '__postgres_role-changes' of https://github.com/nuex/cdist 2013-06-18 13:40:18 +02:00
nuex 90f7ec40fe __postgres_database: make state parameter optional 2013-06-17 13:49:36 -04:00
nuex 48b6344645 __postgres_role: check if state parameter exists before reading it 2013-06-17 11:16:26 -04:00
nuex dc39099730 __postgres_role: make state parameter optional, fix password parameter checking in gencode-remote 2013-06-17 11:05:23 -04:00
nuex 211363d5be __git: quote variables in gencode-remote, add optional parameters in manpage 2013-06-16 01:40:11 -04:00
Nico Schottelius 2acce10497 change __start_on_boot to use systemd on archlinux
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-09 23:45:22 +02:00
Nico Schottelius 68d4bcbcb4 begin to fix syntax errors of merge
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 15:05:43 +02:00
Nico Schottelius 3d73cd2fd3 better debugging for wrong type, fix emulator tests, fixes #176
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-27 16:36:20 +02:00
Tyler Akins 1485381340 Fixing apt_ppa type - can't use double equals with dash 2013-05-26 15:54:28 -05:00
Nico Schottelius 51c8687455 re-add object_prepare, use new run() method
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 10:08:23 +02:00
Nico Schottelius ae8040536f mere tests of autorequire and resolver into execution_order
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 09:26:48 +02:00
Nico Schottelius 03bd44e135 Merge branch 'execution_order_plus_general_changes' 2013-05-15 09:19:52 +02:00
Nico Schottelius a9ffa86b74 remove some old code, merge run into deploy_and_cleanup
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 09:19:36 +02:00
Nico Schottelius 72fef03184 Merge branch 'execution_order' into execution_order_plus_general_changes 2013-05-15 09:16:59 +02:00
Nico Schottelius 0b4914a7f3 +comment wording
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 09:16:52 +02:00
Nico Schottelius e771e91043 Merge branch '__ssh_authorized_keys' of https://github.com/asteven/cdist 2013-05-10 13:13:13 +02:00
Steven Armstrong d4bad031e9 bugfix: the parameter is named 'state' not 'present'
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-05-10 12:41:56 +02:00
Steven Armstrong d72afd3903 dont change parameters; dont use tmpfile; update copyright
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-05-10 12:35:22 +02:00
Nico Schottelius a265d87037 begin dry run in command line
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-02 16:41:16 +02:00
Nico Schottelius f95052e56f remove unused modules
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 15:18:03 +02:00
Nico Schottelius 4882c2cf19 --resolver in config_install
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 15:16:38 +02:00
Nico Schottelius 956f400da6 re-arrange for future cleanup
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 15:15:22 +02:00
Nico Schottelius 2dac681f25 better error message
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 15:07:59 +02:00
Nico Schottelius 85d24ce259 fix execution order - seems to be fine now
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-04-30 15:07:27 +02:00