Steven Armstrong
|
d03f23129b
|
test and fixtures for Object explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 15:45:10 +02:00 |
|
Steven Armstrong
|
2c6c9bcab5
|
Object handles its explorers itself
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 15:44:31 +02:00 |
|
Nico Schottelius
|
5393471841
|
add template for new explorer type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 15:25:29 +02:00 |
|
Steven Armstrong
|
fea602a2c7
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-11 14:22:41 +02:00 |
|
Steven Armstrong
|
45ff8f727f
|
tests for Object source as list
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 14:22:29 +02:00 |
|
Steven Armstrong
|
d7adff4e21
|
silently ignore error when deleting nonexistent file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 14:21:47 +02:00 |
|
Nico Schottelius
|
c674d4a94c
|
distribute tests
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 14:14:12 +02:00 |
|
Steven Armstrong
|
19ad2fe4a9
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-11 14:10:04 +02:00 |
|
Steven Armstrong
|
442ffb75fa
|
nuke legacy files
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 14:09:47 +02:00 |
|
Nico Schottelius
|
2c02b17452
|
write down (almost?) all tests for config_install (really)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 13:47:53 +02:00 |
|
Nico Schottelius
|
cfb74897c4
|
write down (almost?) all tests for config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 13:47:41 +02:00 |
|
Nico Schottelius
|
9d7468edf6
|
add old log of trigger work
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 13:09:56 +02:00 |
|
Nico Schottelius
|
2c5b064b00
|
++todo = remove CODE_HEADER in generated code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 13:06:29 +02:00 |
|
Nico Schottelius
|
cfd04dc204
|
++tests needed
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 13:04:01 +02:00 |
|
Nico Schottelius
|
5443db97c4
|
always setup __debug if debug is set
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 12:54: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
|
e72ad1f7cb
|
emulator not needed in config_install anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 12:19:13 +02:00 |
|
Nico Schottelius
|
6199a255a4
|
add emulator output
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 11:06:10 +02:00 |
|
Steven Armstrong
|
753936b7c3
|
make object.source a list
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 10:30:30 +02:00 |
|
Steven Armstrong
|
904396f6a5
|
new method to create object on the file system
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 10:29:06 +02:00 |
|
Steven Armstrong
|
5a082058e5
|
new method which checks if object exists on the file system
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 10:28:41 +02:00 |
|
Steven Armstrong
|
96c059983a
|
- legacy code, + docstrings
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 10:28:10 +02:00 |
|
Steven Armstrong
|
af83c7af8e
|
tests for Object source
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 09:38:31 +02:00 |
|
Steven Armstrong
|
005009ab5d
|
finish FileStringProperty
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 09:38:03 +02:00 |
|
Steven Armstrong
|
a1e1c8d665
|
+docstring
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 09:02:01 +02:00 |
|
Nico Schottelius
|
425d973dc2
|
++changes for 2.0.3
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 00:46:01 +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
|
9647933a40
|
Merge branch 'master' of git://github.com/asteven/cdist
|
2011-10-11 00:19:01 +02:00 |
|
Nico Schottelius
|
92d3925b1c
|
add filter to prepend hostname in config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-11 00:18:32 +02:00 |
|
Nico Schottelius
|
35bfa2fcdc
|
finish merge of context and config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-10 18:50:06 +02:00 |
|
Nico Schottelius
|
1015810391
|
++testtodo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-10 18:31:56 +02:00 |
|
Steven Armstrong
|
67543146f0
|
add source property
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 17:46:25 +02:00 |
|
Steven Armstrong
|
af8f006fc6
|
/type/cdist_type/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 16:50:56 +02:00 |
|
Steven Armstrong
|
bbcecc03ef
|
remove redundant code, use new fsproperty module instead
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 16:39:48 +02:00 |
|
Steven Armstrong
|
915ec6d9ad
|
rename property module to fsproperty
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 16:37:56 +02:00 |
|
Nico Schottelius
|
a8fc867834
|
++test integration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-10 15:43:36 +02:00 |
|
Nico Schottelius
|
c81a2925b8
|
accept exec_path, setup__target_host
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-10 15:38:38 +02:00 |
|
Nico Schottelius
|
9ce31fa84a
|
simplify test
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-10 15:37:39 +02:00 |
|
Nico Schottelius
|
d2b042ab7f
|
remove parallel arg, always change logoutput
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-10 15:14:48 +02:00 |
|
Steven Armstrong
|
0963237321
|
new package cdist.util
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 14:54:50 +02:00 |
|
Steven Armstrong
|
4a3bc72846
|
move file based properties out of core
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 14:54:35 +02:00 |
|
Steven Armstrong
|
f3932bb662
|
move file based properties out of core
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 14:54:26 +02:00 |
|
Steven Armstrong
|
44a722042a
|
new class for using filesystem as backend for boolean properties
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 14:37:33 +02:00 |
|
Nico Schottelius
|
7823d0c997
|
merge context back into config (it is in fact the same idea)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-10 11:31:37 +02:00 |
|
Steven Armstrong
|
6de7bd3377
|
test for Object ran
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 10:06:41 +02:00 |
|
Steven Armstrong
|
7855a485b6
|
test for Object prepared
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 10:05:46 +02:00 |
|
Steven Armstrong
|
f2701cb512
|
test for Object changed
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 10:04:36 +02:00 |
|
Steven Armstrong
|
86f976976e
|
bugfix: use absolute path when accessing file system
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 10:01:28 +02:00 |
|