Nico Schottelius
|
609efcbfd1
|
Remove datetime from config_install, break code and make it more beautiful
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
1db4cd48d2
|
-typo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
d4bf98cf0c
|
+tests needed
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
14082f5c00
|
string, not tuple in exception
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
14126cb4b8
|
++todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
a87e6f22b5
|
use new cdist.Error exception
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
d07a191867
|
add logger to config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
52268d032a
|
++todos
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
ae9eba80a9
|
use require, not __require in emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
ccb2ffcae6
|
remove toplevel object/type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
8305f07aab
|
stage prepare uses new object interface
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
344bfb0603
|
was the object prepared/ran?
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
5c9694215c
|
setup '__cdist_out_dir' in path for use in Object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
2157cef2a6
|
make cdist.MissingEnvironmentVariableError print the key and not fail :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
df5de24b72
|
begin use of cdist.core.Object.list_objects()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
bfba1938ca
|
Merge remote-tracking branch 'steven/oo-restructure'
|
13 years ago |
Steven Armstrong
|
3a1cea6887
|
file system backed properties
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
12dc0d2bdd
|
cleanup and file system backed properties
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
1da7436fcb
|
Merge branch 'install'
Conflicts:
lib/cdist/config.py
Some problems left.
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
60b5f8783c
|
revert changes from upcoming install branch
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
50edf2863a
|
Merge remote-tracking branch 'steven/oo-restructure'
|
13 years ago |
Nico Schottelius
|
220611604b
|
+:
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
efe8dbfa85
|
Merge remote-tracking branch 'steven/oo-restructure'
Conflicts:
lib/cdist/config.py
lib/cdist/path.py
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
11e34810e7
|
Merge branch 'master' into install
|
13 years ago |
Nico Schottelius
|
8341e0cc0f
|
think about the __init_script type (probably raise discussion)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
1c8a143397
|
commit previously missed change
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
54fb9e6c3f
|
Merge branch 'master' into install
Conflicts:
lib/cdist/config.py
lib/cdist/path.py
Merged changes from config.py to config_install.py
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
7c11fa0937
|
introduce unclear changes (names not yet decided)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
afa3920ca9
|
remove more obsolete manpages
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
063fc61291
|
remove legacy manpage of cdist-type-emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
8b561fd63c
|
fixup correct split/insert of os.environ() for target_host and args
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
26278b1e32
|
expose target host from config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
919f67184a
|
do not reference scp anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
5a7e4b2f32
|
quiet ssh/scp
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Steven Armstrong
|
0d9906b0b8
|
--typo, missing colon
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
59bee14101
|
begin to eliminate remote_user/prefix from path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
df630e1fdf
|
user remote_prefix=True now
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
eea6a38f33
|
cat only locally :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
278c379e07
|
use os.environ['__remote_exec'] in exec*
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
ecc4fc10d7
|
setup __remote_exec and __remote_copy variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
eaf2b28fd7
|
more prefix ideas
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Steven Armstrong
|
a15972f20d
|
+docstring
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
c0f04cab0f
|
more hints on env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Steven Armstrong
|
41ab7390db
|
use constant instead of string for .cdist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
4de5f6f58e
|
move Type into its own file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
aa1c13898a
|
add ideas about remote exec/copy
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Steven Armstrong
|
080ca10e19
|
new package cdist.core
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
cdba503ff2
|
move Object class into its own file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
a4abb53ced
|
+MissingEnvironmentVariableError
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
2ec2ab26ce
|
update path with changes from yesterday (system crash)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |