Commit graph

4907 commits

Author SHA1 Message Date
Nico Schottelius
84ede1ae29 cleanup cdist config, remove cache, add out_dir and conf_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:19:41 +01:00
Nico Schottelius
ce9fc9fd55 fix HACKERS_README find
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:15:34 +01:00
Nico Schottelius
9800b0a142 simplify HACKERS_README and use __cdist_out_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:13:46 +01:00
Nico Schottelius
d7299b8ab1 begin to integrate out_dir in cdist_config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:10:36 +01:00
Nico Schottelius
17838de1ef remove exports from cdist-config, let subscribts take care about that, add out_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:01:18 +01:00
Nico Schottelius
5957de201b wait for correct count of args in bin/cdist-dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:53:51 +01:00
Nico Schottelius
5d881f226a superseed cdist-dir-push with cdist-dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:50:33 +01:00
Nico Schottelius
d8cb6d58f7 finish bin/cdist-dir-push
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:42:14 +01:00
Nico Schottelius
c0edcbee84 nexttodo updated
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:33:10 +01:00
Nico Schottelius
243556a69f add template for cdist-dir-push
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:32:17 +01:00
Nico Schottelius
6f2b304400 out_dir on target
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:15:06 +01:00
Nico Schottelius
8265d23dca cleanup cache_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:14:03 +01:00
Nico Schottelius
ba7944a9e7 rename tmpdir -> tmp_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:12:07 +01:00
Nico Schottelius
f4c5e7ee9e flatten out_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:11:52 +01:00
Nico Schottelius
042655f6b8 introduce conf_dir and out_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 15:10:32 +01:00
Nico Schottelius
ba80f3aea4 cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 14:59:56 +01:00
Nico Schottelius
964654860c add template for cdist-type-manifest.text
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 14:05:31 +01:00
Nico Schottelius
b7e778512d optional is not required
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 14:05:19 +01:00
Nico Schottelius
23782ea337 further cleanups in the cdist-types manpage
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 14:04:07 +01:00
Nico Schottelius
8513cca4d1 begin to cleanup doc/man/cdist-types.text
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 13:55:42 +01:00
Nico Schottelius
b8156ebede cleanup old internal documentation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 13:49:29 +01:00
Nico Schottelius
9f64444d17 remove old notes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 13:47:31 +01:00
Nico Schottelius
deb2df20c0 remove reminder
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 13:37:05 +01:00
Nico Schottelius
de71c881a2 begin to include parameter copy to remote host
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:24:20 +01:00
Nico Schottelius
91b4b163cd save parameters below parameters/ in the object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:21:43 +01:00
Nico Schottelius
ce69491c34 sed -i 's/__cdist_name_type_params/__cdist_name_params/g'
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:12:26 +01:00
Nico Schottelius
b222b79407 add some help output in cdist-explorer-run for bogus situations
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:04:12 +01:00
Nico Schottelius
d58d13910b explorers integrated, but parameters are not accessable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:01:23 +01:00
Nico Schottelius
0835e68766 also pass object_id to cdist-explorer-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:56:25 +01:00
Nico Schottelius
a12df5ce7c create __cdist_object_id_from_object and use it + __cdist_type_from_object in cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:50:30 +01:00
Nico Schottelius
51669874a7 extend cdist-explorer-run to accept arguments for explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:37:07 +01:00
Nico Schottelius
2e266cfe3a finish conf/types/__file/explorers/md5sum
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:32:35 +01:00
Nico Schottelius
0c0209e83b update __file/gencode to include parameters/ prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:29:57 +01:00
Nico Schottelius
5cc342fd68 add template for md5sum explorer of __file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:28:05 +01:00
Nico Schottelius
53b51b0ead Merge branch 'master' into types_explorer 2011-02-23 09:24:25 +01:00
Nico Schottelius
cea051a105 fix __file/gencode: use destination, not path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:23:59 +01:00
Nico Schottelius
a2992f0c6e be consistent and use __cdist_name_type_params as temp subdir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:22:38 +01:00
Nico Schottelius
bf94bd1aab no need to export variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:20:34 +01:00
Nico Schottelius
9a3d3bf489 s/opt_file/optional/
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:17:33 +01:00
Nico Schottelius
756a12c4f0 remove failing objects from initial manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:15:38 +01:00
Nico Schottelius
9bdfeb6198 exit after object explorer run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:14:14 +01:00
Nico Schottelius
adbd147857 remove failing objects from initial manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:10:17 +01:00
Nico Schottelius
9761239f6c in theory finish bin/cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:02:57 +01:00
Nico Schottelius
b782f56594 todo++
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:25:28 +01:00
Nico Schottelius
76057615b3 and rename to __cdist_type_explorer_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:21:32 +01:00
Nico Schottelius
db40e6c1a1 add __cdist_type_explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:21:11 +01:00
Nico Schottelius
391b5d7dc0 begin cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:19:16 +01:00
Nico Schottelius
2c5356ba9c introduce __cdist_type_from_object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:17:55 +01:00
Nico Schottelius
2fc8c2c4ce add template for cdist-object-explorer-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:12:34 +01:00
Nico Schottelius
616fd954e8 no export needed, so remove it
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:08:45 +01:00