Commit graph

20 commits

Author SHA1 Message Date
Nico Schottelius
7160637014 remove trailing whitespace: :%s/ *$//g
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2011-10-18 13:29:44 +02:00
Steven Armstrong
91c1215566 wrap exceptions in cdist.Error
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-18 13:27:44 +02:00
Steven Armstrong
ede35ffd73 completely rewrite file based property handling
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 01:15:08 +02:00
Steven Armstrong
453adefc91 ++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 21:59:57 +02:00
Steven Armstrong
5bf0f24e62 ++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 21:58:35 +02:00
Steven Armstrong
a3e1ca9a18 ++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 21:56:40 +02:00
Steven Armstrong
17ce03f54d ++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 21:54:53 +02:00
Steven Armstrong
7fc63a3802 ++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 21:53:37 +02:00
Steven Armstrong
0aa53bab4c ++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 21:51:16 +02:00
Steven Armstrong
a8e8d7b227 ++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 21:30:17 +02:00
Steven Armstrong
9c04da1d42 DirectoryDictProperty: create directory if it doesnt exist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 21:21:59 +02:00
Steven Armstrong
e70e0569ec FileList handle exception when deleting old/unused file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 18:01:46 +02:00
Steven Armstrong
589b5a68b9 FileList raise exception if write failse
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 17:59:23 +02:00
Steven Armstrong
d136a6dee3 DirectoryDictProperty: create directory before writing
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:14:01 +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
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
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
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
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