Commit graph

2075 commits

Author SHA1 Message Date
Nico Schottelius
1da7436fcb Merge branch 'install'
Conflicts:
	lib/cdist/config.py

Some problems left.

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 17:06:56 +02:00
Nico Schottelius
60b5f8783c revert changes from upcoming install branch
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 17:02:37 +02:00
Nico Schottelius
50edf2863a Merge remote-tracking branch 'steven/oo-restructure' 2011-10-06 17:00:52 +02:00
Nico Schottelius
220611604b +:
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 17:00:09 +02:00
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>
2011-10-06 16:57:48 +02:00
Nico Schottelius
11e34810e7 Merge branch 'master' into install 2011-10-06 16:55:05 +02:00
Nico Schottelius
8341e0cc0f think about the __init_script type (probably raise discussion)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 16:54:47 +02:00
Nico Schottelius
1c8a143397 commit previously missed change
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 16:52:56 +02:00
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>
2011-10-06 16:52:20 +02:00
Nico Schottelius
7c11fa0937 introduce unclear changes (names not yet decided)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 16:49:27 +02:00
Nico Schottelius
afa3920ca9 remove more obsolete manpages
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 16:42:45 +02:00
Nico Schottelius
063fc61291 remove legacy manpage of cdist-type-emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 16:41:28 +02:00
Nico Schottelius
8b561fd63c fixup correct split/insert of os.environ() for target_host and args
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 16:30:06 +02:00
Nico Schottelius
26278b1e32 expose target host from config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 16:28:21 +02:00
Nico Schottelius
919f67184a do not reference scp anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 15:49:08 +02:00
Nico Schottelius
5a7e4b2f32 quiet ssh/scp
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 15:48:44 +02:00
Steven Armstrong
0d9906b0b8 --typo, missing colon
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-06 15:18:06 +02:00
Nico Schottelius
59bee14101 begin to eliminate remote_user/prefix from path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 14:02:37 +02:00
Nico Schottelius
df630e1fdf user remote_prefix=True now
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 13:40:46 +02:00
Nico Schottelius
eea6a38f33 cat only locally :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 13:39:08 +02:00
Nico Schottelius
278c379e07 use os.environ['__remote_exec'] in exec*
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 13:37:12 +02:00
Nico Schottelius
ecc4fc10d7 setup __remote_exec and __remote_copy variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 13:34:45 +02:00
Nico Schottelius
eaf2b28fd7 more prefix ideas
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 13:34:28 +02:00
Steven Armstrong
a15972f20d +docstring
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-06 13:21:48 +02:00
Nico Schottelius
c0f04cab0f more hints on env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 13:20:05 +02:00
Steven Armstrong
41ab7390db use constant instead of string for .cdist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-06 13:02:08 +02:00
Steven Armstrong
4de5f6f58e move Type into its own file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-06 13:00:17 +02:00
Nico Schottelius
aa1c13898a add ideas about remote exec/copy
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 13:00:00 +02:00
Steven Armstrong
080ca10e19 new package cdist.core
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-06 12:58:08 +02:00
Steven Armstrong
cdba503ff2 move Object class into its own file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-06 12:57:38 +02:00
Steven Armstrong
a4abb53ced +MissingEnvironmentVariableError
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-06 12:52:13 +02:00
Nico Schottelius
2ec2ab26ce update path with changes from yesterday (system crash)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 12:34:34 +02:00
Nico Schottelius
5b70ff5694 whiteboard to file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 12:07:50 +02:00
Nico Schottelius
2157f2a2d0 Merge remote-tracking branch 'dani/init_script_type' 2011-10-06 09:34:49 +02:00
Nico Schottelius
820eea56fb install finish
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-06 09:27:16 +02:00
Steven Armstrong
f262cc4ccf ++example usage
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-06 01:04:09 +02:00
Steven Armstrong
50a3ad7993 proof of concept object oriented aproach
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-06 00:58:43 +02:00
Steven Armstrong
82f548bafd Merge remote-tracking branch 'telmich/install' into oo-restructure 2011-10-05 17:06:56 +02:00
Nico Schottelius
f84cabffe3 cleanup path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 16:49:20 +02:00
Steven Armstrong
94d926c0d6 Merge remote-tracking branch 'telmich/install' into oo-restructure 2011-10-05 16:48:15 +02:00
Steven Armstrong
8e06626c5a Merge remote-tracking branch 'telmich/install' into oo-restructure 2011-10-05 16:47:49 +02:00
Nico Schottelius
7f85aab3ef add some pseudo code to adapt to changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 16:45:10 +02:00
Steven Armstrong
2e61e8b202 finish object class
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-05 16:44:22 +02:00
Nico Schottelius
a0c984acdd config+install is broken now due to refactoring
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 16:38:19 +02:00
Nico Schottelius
68889c4bf7 finish type, shrink path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 16:12:25 +02:00
Steven Armstrong
099adec61f start working on object class
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-05 16:08:29 +02:00
Nico Schottelius
2176e4e2d4 begin new type type (no typo)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 16:05:11 +02:00
Steven Armstrong
ad815f7373 Merge remote-tracking branch 'telmich/install' into oo-restructure 2011-10-05 16:02:29 +02:00
Nico Schottelius
28428177ae --typo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 15:53:34 +02:00
Nico Schottelius
9128cc28c4 introduce a lot todo in path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-05 15:50:17 +02:00