Commit Graph

248 Commits (a76d8bb517ed58083af71bbedab8a4afbd1b0e84)

Author SHA1 Message Date
Nico Schottelius a76d8bb517 :%s/self.out_path/self.base_path/g
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 8298bb0bf5 fix test cdist.test.config_install.ConfigInstallRunTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius b3cf339d06 fallback to sys.argv[0] by default
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius cd8695d3eb move create_files_dirs more to up - it is similar to init()
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius d1708c78b6 refactoring
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius eaf1721212 begin to migrate to '--output-base-path', shrink context
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius b9a6cf7c6a remove context from shell
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius a7fe8b4ed2 port context -> remote
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius f79727559a ++logs and migrate context -> local
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 83c981f477 begin to implement -C --cache-dir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 49d9f1f475 support relative paths in -c argument
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 263a8a73a7 minor cleanups
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 32f878ad00 update docs, document exit code bug
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 4e46cf8ce4 begin to document shell changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 79fea569b9 some shell related cleanups
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius c793825edb re-arrange REMOTE_COPY/EXEC for Shell use
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 2403fc59ee refactor commandline: merge into its own class (and add first shell code)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius c1441fc676 enhance singleton testing
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 8ab760ad90 document unit test
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius b84d3393a0 Merge branch 'remove-singleton-object_id' of https://github.com/asteven/cdist 10 years ago
Steven Armstrong 7205cd5ecf remove that crappy old singleton object_id thingy
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Nico Schottelius ff50a61344 use shortcut version in __package_opkg
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius dbe65795f5 remove dry_run from object_run
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 5f318d5de3 print warning in case dry run is activated
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 5bad25cd6d add dry_run hint to verbose messages, not debug
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 3c14f7e2f5 add dry run hint
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius ab50d8561b add new type: __cdist
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 9326adf34b fix refactor error
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 25bdcb1602 cleanup tests and ... - 100% green
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius ef24ec4db8 port test_missing_requirements to config_install unit test
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius e1d8645415 fix unit tests for config_install
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 4ec1afc47f also remove obsolete save_cache function
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 14a3bf7262 move save_cache into local
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 4758daa037 move types into conf/ dir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 347ff8900e split directory creating code off of init
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius b1d661f4c0 merge ResolverTestCase and AutorequireTestCase into ExecutionOrderTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
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>
10 years ago
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>
10 years ago
Nico Schottelius 4ae241259f remove the old entries on change
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius d78dc7af8b Merge branch '__cron-simplify' 10 years ago
Nico Schottelius e7527802a5 more hints for __debconf_set_selections
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 622cd398c6 use quiet mode by default
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 84f2ca0d1f add new type: __update_alternatives
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius 137856002f Merge branch 'master' into __cron-simplify 10 years ago
Nico Schottelius 4ecffa7d59 fix typo in __process
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
Nico Schottelius fb40ba4d0f Merge branch 'master' into __cron-simplify 10 years ago
Nico Schottelius 135499f120 __process: make --state optional
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
10 years ago
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>
10 years ago
Nico Schottelius 1788b343d1 Merge branch '__postgres_role-changes' of https://github.com/nuex/cdist 10 years ago
nuex 90f7ec40fe __postgres_database: make state parameter optional 10 years ago