Steven Armstrong
|
68f66af21a
|
implement: accept parameters with dashes
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-11-17 13:04:39 +01:00 |
|
Steven Armstrong
|
d0123acc2a
|
implement singleton as requirement
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-11-03 15:44:51 +01:00 |
|
Steven Armstrong
|
8f306a7484
|
/__debug/__cdist_debug/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-19 15:04:14 +02:00 |
|
Nico Schottelius
|
4d4287c580
|
Merge remote-tracking branch 'steven/master'
|
2011-10-18 15:14:44 +02:00 |
|
Steven Armstrong
|
2246b7496b
|
fails if requirement has illegal object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 15:07:58 +02:00 |
|
Nico Schottelius
|
7bb81e2f18
|
Whitespace does not not weigh anything - remove - sed -i 's/ *$//g' *py */*py
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2011-10-18 13:32:36 +02:00 |
|
Steven Armstrong
|
e9a0aa1863
|
fail if requirements type does not exist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 13:20:14 +02:00 |
|
Nico Schottelius
|
03ea7787d2
|
+self
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-16 18:38:22 +02:00 |
|
Nico Schottelius
|
3c31b4f9a3
|
and finally also adjust the requirement itself
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 23:40:11 +02:00 |
|
Nico Schottelius
|
5a72223ae3
|
strip away / in emulator in requirements
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 23:23:57 +02:00 |
|
Steven Armstrong
|
b8b9719cc6
|
Merge remote-tracking branch 'telmich/master'
Conflicts:
lib/cdist/core/explorer.py
lib/cdist/emulator.py
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-15 10:51:08 +02:00 |
|
Nico Schottelius
|
ee1c568c7b
|
almost finish correct requirement loading, but need sleep
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 02:54:54 +02:00 |
|
Nico Schottelius
|
0dd38f75c2
|
remove leading / from object_id of requirement
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 02:46:28 +02:00 |
|
Nico Schottelius
|
a7a3ee6f19
|
adjust prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 02:36:33 +02:00 |
|
Nico Schottelius
|
e002710c4c
|
rewrite emulator to class based approach for better logging
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 02:31:40 +02:00 |
|
Steven Armstrong
|
d83de25774
|
Stripp leading slash from requirements object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-15 00:26:00 +02:00 |
|
Steven Armstrong
|
1e622f9128
|
raise IllegalRequirementError if requirements object_id starts with a /
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 15:52:53 +02:00 |
|
Steven Armstrong
|
1c84e423d1
|
include type name in error message
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 11:49:37 +02:00 |
|
Steven Armstrong
|
f285d9e64e
|
emulator: fail if object_id of requirement starts with slash
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 11:39:55 +02:00 |
|
Steven Armstrong
|
405ebbccb7
|
Merge remote-tracking branch 'telmich/master'
Conflicts:
lib/cdist/emulator.py
|
2011-10-11 12:40:44 +02:00 |
|
Steven Armstrong
|
bcde8683af
|
rewrite emulator to use Type and Object classes
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 12:27:08 +02:00 |
|
Nico Schottelius
|
72a2543470
|
introduce install support in emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 00:42:03 +02:00 |
|
Nico Schottelius
|
94cca2e537
|
prepend hostname in emulator as well
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 00:28:53 +02:00 |
|
Nico Schottelius
|
c6e8f163f5
|
use variable require, not __require for defining
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:03:38 +02:00 |
|
Nico Schottelius
|
e8c9b10227
|
also use path in emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:44:53 +02:00 |
|
Nico Schottelius
|
03f5e1b456
|
fix emulator and cdist module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:15:48 +02:00 |
|
Nico Schottelius
|
149a605b16
|
use more path, move type -> cdist_type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:14:29 +02:00 |
|
Nico Schottelius
|
2aa0a316e6
|
use _path not _dir in emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:13:00 +02:00 |
|
Thomas Reifenberger
|
9045b30136
|
fix multiple requirements
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:07:02 +02:00 |
|
Nico Schottelius
|
ca5361afc1
|
remote cdist.path, use base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:36:51 +02:00 |
|
Nico Schottelius
|
b936fea3e5
|
link to emulator in config_install and remove it from emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 12:10:57 +02:00 |
|
Nico Schottelius
|
e26f612012
|
move file_to_list to cdist
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 09:29:22 +02:00 |
|
Nico Schottelius
|
9b5b94577f
|
add debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-06 20:32:47 +02:00 |
|
Nico Schottelius
|
ae9eba80a9
|
use require, not __require in emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-06 19:50:45 +02:00 |
|
Nico Schottelius
|
b52939ccfe
|
only debug if __debug is setup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-27 16:40:50 +02:00 |
|
Nico Schottelius
|
ae7887f775
|
++changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-27 16:25:58 +02:00 |
|
Nico Schottelius
|
a165585699
|
pass __debug to manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-27 16:20:46 +02:00 |
|
Nico Schottelius
|
272b8722c1
|
fix output, compare string with string not string with list
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-27 16:10:53 +02:00 |
|
Nico Schottelius
|
0913bb21dd
|
use raise instead of sys.exit in emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-27 14:08:11 +02:00 |
|
Nico Schottelius
|
9d582ae24f
|
rename emulator to run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-27 14:01:09 +02:00 |
|
Nico Schottelius
|
6f1a13b531
|
move emulator link to emulator module and make source variable (exec_path)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-27 13:38:25 +02:00 |
|
Nico Schottelius
|
2c0a7adf74
|
replace CdistError with cdist.Error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-27 00:49:12 +02:00 |
|
Nico Schottelius
|
df84480fcc
|
BUGFIX: emulator compared parameter with value
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-27 00:02:04 +02:00 |
|
Nico Schottelius
|
fc1e0d9f1f
|
remove exec bits from copying
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-26 11:55:59 +02:00 |
|
Nico Schottelius
|
74dc5b96cb
|
type emulator begins to run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-26 11:21:04 +02:00 |
|
Nico Schottelius
|
6d75016139
|
make type emulator load again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-09-26 11:18:36 +02:00 |
|