Commit graph

3997 commits

Author SHA1 Message Date
Nico Schottelius
6cd419b334 have __motd regenerate on Debian/Ubuntu
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 11:26:32 +02:00
Nico Schottelius
6af7eadc89 add --shell to __cdist
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 11:21:19 +02:00
Nico Schottelius
34b5fbd892 ++changes(2.3.2)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 10:51:11 +02:00
Nico Schottelius
4d8840dba0 also setup homedir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 10:50:42 +02:00
Nico Schottelius
93f5ace932 clenaup logging in emulator, cleanup emulator in main script
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-09-02 10:49:11 +02:00
Nico Schottelius
760b7e7afb ++changes(2.3.2)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-30 02:55:22 +02:00
Nico Schottelius
25324a5e35 Merge branch 'cleanup/remove-install' of https://github.com/asteven/cdist
Also merged in base_path patch.

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>

Conflicts:
	cdist/config_install.py
2013-08-30 01:35:11 +02:00
Nico Schottelius
7143fd2706 base, not out
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-30 01:32:30 +02:00
Steven Armstrong
3de9b869ac there is no such thing as cdist install in master
remove all traces of it to prevent the ongoing merge issues when using the real thing

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-08-29 21:56:53 +02:00
Nico Schottelius
5b79a97d34 add hint to use /bin/sh -e consistently (thanks, Steven!)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-29 11:28:53 +02:00
Nico Schottelius
b2d86ef2e6 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 16:47:00 +02:00
Nico Schottelius
42bad3dd37 dest, not destination
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 16:46:35 +02:00
Nico Schottelius
726aaf2033 document another release bug
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 16:44:36 +02:00
Nico Schottelius
0c4847747b +space
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 16:43:26 +02:00
Nico Schottelius
3b9b0dde56 require branch merge to happen before pypi
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 16:22:20 +02:00
Nico Schottelius
2286acc6f2 fix some more tests for the next release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 15:44:52 +02:00
Nico Schottelius
e6feee14fb Merge branch 'enhance_cache'
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>

Conflicts:
	cdist/test/code/__init__.py
	cdist/test/config_install/__init__.py
	cdist/test/explorer/__init__.py
2013-08-28 15:43:03 +02:00
Nico Schottelius
136ddc05b5 context based changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 15:39:17 +02:00
Nico Schottelius
18c5e60ab1 --context in tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 15:34:52 +02:00
Nico Schottelius
bc4a9fda3a add doc/dev document that resulted in the troubleshooting document
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 15:32:01 +02:00
Nico Schottelius
f50374af51 ++changes(2.3.1)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 15:30:16 +02:00
Nico Schottelius
1b5010b747 ++docs: cdist-troubleshooting
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-28 15:29:47 +02:00
Nico Schottelius
200c15c536 remove debug, ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-27 12:46:00 +02:00
Nico Schottelius
46a0689dfe how to store non-cdist related content in a cdist repo
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-27 11:15:43 +02:00
Nico Schottelius
74e003d29b +print cdist version on startup + exit_code = 2 for irq
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-21 18:52:35 +02:00
Nico Schottelius
408d89433b ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-20 00:22:19 +02:00
Nico Schottelius
91cf68363b Merge branch 'issue_191' of https://github.com/asteven/cdist 2013-08-20 00:21:36 +02:00
Steven Armstrong
8aacbe2885 Bourne is not bash
see http://shebang.brandonmintern.com/bourne-is-not-bash-or-read-echo-and-backslash/

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2013-08-19 22:25:17 +02:00
Nico Schottelius
975b93c20a fix all tests -> back to normal
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 13:37:40 +02:00
Nico Schottelius
b527479620 refactor out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 13:35:03 +02:00
Nico Schottelius
866645679a throw a better exception when environment variables are missing
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 13:34:29 +02:00
Nico Schottelius
2f5de23ae9 out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 12:03:25 +02:00
Nico Schottelius
ffeaa3d06b fix old bug / joining wrong args
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:45:43 +02:00
Nico Schottelius
a76d8bb517 :%s/self.out_path/self.base_path/g
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:45:22 +02:00
Nico Schottelius
8298bb0bf5 fix test cdist.test.config_install.ConfigInstallRunTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:33:44 +02:00
Nico Schottelius
b3cf339d06 fallback to sys.argv[0] by default
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:21:53 +02:00
Nico Schottelius
10b27e63ca rename out_path -> out_dir for consistency
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 11:21:36 +02:00
Nico Schottelius
9db2949377 ++changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 08:49:51 +02:00
Nico Schottelius
cd8695d3eb move create_files_dirs more to up - it is similar to init()
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 08:48:41 +02:00
Nico Schottelius
d1708c78b6 refactoring
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 01:38:28 +02:00
Nico Schottelius
eaf1721212 begin to migrate to '--output-base-path', shrink context
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:52:15 +02:00
Nico Schottelius
b9a6cf7c6a remove context from shell
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:38:19 +02:00
Nico Schottelius
a7fe8b4ed2 port context -> remote
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:36:25 +02:00
Nico Schottelius
f79727559a ++logs and migrate context -> local
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:33:58 +02:00
Nico Schottelius
58bd230a61 ++freedom
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:04:27 +02:00
Nico Schottelius
83c981f477 begin to implement -C --cache-dir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-19 00:03:57 +02:00
Nico Schottelius
b80b548f14 add logfile that describes how the cache is going to be enhaced
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-18 23:59:47 +02:00
Nico Schottelius
49d9f1f475 support relative paths in -c argument
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:56:54 +02:00
Nico Schottelius
90c66966e7 ++notes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:46:50 +02:00
Nico Schottelius
70698aa167 document known problem during release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-08-12 12:46:23 +02:00