Steven Armstrong
|
127c512f84
|
call systemctl in subshell to prevent the explorer from failing if it exits non zero
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Nico Schottelius
|
98cdc6c139
|
fix tests so that the explorers are not changed while running tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
33559fad67
|
add comments to some tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Steven Armstrong
|
fc40a40ae0
|
implement configurable default values for parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Steven Armstrong
|
1927d4852a
|
add tests for configurable default values for parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Nico Schottelius
|
a4151fee44
|
fix shell from previous context change
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
5a2873efc8
|
remove customer types
Should not have been committed here - sorry for the noise.
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
e3f401900a
|
add the type as well...
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
f8d3e36efb
|
new type: __iptables_apply
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
0f6b6f420c
|
new type: __iptables_rule
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
73338c330b
|
record the type name, if there is no such type
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
6cd419b334
|
have __motd regenerate on Debian/Ubuntu
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
6af7eadc89
|
add --shell to __cdist
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
4d8840dba0
|
also setup homedir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
93f5ace932
|
clenaup logging in emulator, cleanup emulator in main script
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
760b7e7afb
|
++changes(2.3.2)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
7143fd2706
|
base, not out
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
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>
|
11 years ago |
Nico Schottelius
|
2286acc6f2
|
fix some more tests for the next release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
136ddc05b5
|
context based changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
18c5e60ab1
|
--context in tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
11 years ago |
Nico Schottelius
|
74e003d29b
|
+print cdist version on startup + exit_code = 2 for irq
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
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>
|
12 years ago |
Nico Schottelius
|
975b93c20a
|
fix all tests -> back to normal
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
b527479620
|
refactor out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
866645679a
|
throw a better exception when environment variables are missing
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
2f5de23ae9
|
out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
ffeaa3d06b
|
fix old bug / joining wrong args
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
a76d8bb517
|
:%s/self.out_path/self.base_path/g
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
8298bb0bf5
|
fix test cdist.test.config_install.ConfigInstallRunTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
b3cf339d06
|
fallback to sys.argv[0] by default
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 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>
|
12 years ago |
Nico Schottelius
|
d1708c78b6
|
refactoring
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
eaf1721212
|
begin to migrate to '--output-base-path', shrink context
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
b9a6cf7c6a
|
remove context from shell
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
a7fe8b4ed2
|
port context -> remote
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
f79727559a
|
++logs and migrate context -> local
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
83c981f477
|
begin to implement -C --cache-dir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
49d9f1f475
|
support relative paths in -c argument
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
263a8a73a7
|
minor cleanups
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
32f878ad00
|
update docs, document exit code bug
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
4e46cf8ce4
|
begin to document shell changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
79fea569b9
|
some shell related cleanups
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
c793825edb
|
re-arrange REMOTE_COPY/EXEC for Shell use
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 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>
|
12 years ago |
Nico Schottelius
|
c1441fc676
|
enhance singleton testing
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
8ab760ad90
|
document unit test
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Steven Armstrong
|
7205cd5ecf
|
remove that crappy old singleton object_id thingy
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
ff50a61344
|
use shortcut version in __package_opkg
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
dbe65795f5
|
remove dry_run from object_run
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |