Commit graph

299 commits

Author SHA1 Message Date
Nico Schottelius
918bb8bb5a in theory, finish __file/gencode (with debug)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 18:33:12 +01:00
Nico Schottelius
45429c2ca0 Allow ids to contain slashes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 02:13:11 +01:00
Nico Schottelius
1a718e7c23 adjust gencode of type __file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 01:20:34 +01:00
Nico Schottelius
e4377f7532 remove debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:58:38 +01:00
Nico Schottelius
66610155ae add some debug to md5sum explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:55:06 +01:00
Nico Schottelius
72f62a8734 cleanup and fix some missing } in cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-25 00:14:26 +01:00
Nico Schottelius
df2bbebed7 params -> parameter
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 21:37:55 +01:00
Nico Schottelius
b683b8ca70 more plural -> singular cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 21:36:11 +01:00
Nico Schottelius
238b5119eb begin to migrate from plural to singular, CONSISTENTLY
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 21:32:01 +01:00
Nico Schottelius
241548c6ec cleanup, -debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 15:43:53 +01:00
Nico Schottelius
3fdb5a2e24 successfully implement __target_host
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 15:14:00 +01:00
Nico Schottelius
368eed50c1 -debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 14:48:20 +01:00
Nico Schottelius
7d766d5376 export __manifests
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 14:47:52 +01:00
Nico Schottelius
f5eccb2cb1 introduce new variable names and use __explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 14:24:47 +01:00
Nico Schottelius
2b9acf9f26 adjust issue manifest not to hide error if file is missing
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-24 09:41:42 +01:00
Nico Schottelius
957ab446fa introduce __cdist_local_base_dir and use it in HACKERS_README
This way out/ and conf/ are debugable.

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 19:05:46 +01:00
Nico Schottelius
0bf48923a9 change explorer to use locally available path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:36:02 +01:00
Nico Schottelius
926a307234 transfer all cdist binaries to the target, may be helpful
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 17:55:35 +01:00
Nico Schottelius
9c9d3b33cf update cdist-explorer-run to almost run again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:49:39 +01:00
Nico Schottelius
995bf8d963 a giant commit into the future
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:45:38 +01:00
Nico Schottelius
edc4bf6a47 add template for cdist-explorer-remote-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:31:28 +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
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
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
d80d9738ef Merge branch 'master' into types_explorer 2011-02-23 00:05:52 +01:00
Nico Schottelius
6ff47f59a8 use ./ for other explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:05:35 +01:00
Steven Armstrong
0c47a70d6e commented out the future
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-02-22 23:22:27 +01:00
Nico Schottelius
5017119132 Merge remote-tracking branch 'sans/master' 2011-02-22 17:25:35 +01:00
Nico Schottelius
00220332a5 simplify manifests/init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 17:25:31 +01:00
Steven Armstrong
81823131b0 +type:__package_emerge
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-02-22 16:19:02 +01:00
Steven Armstrong
e5366650ce +type:__package
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-02-22 16:15:50 +01:00
Steven Armstrong
a69cb997ee +icarus
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-02-22 16:11:07 +01:00
Nico Schottelius
68b6f46a91 cleanup gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 13:07:24 +01:00
Nico Schottelius
78f2431b03 remove unecessary manifest in __file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 12:57:35 +01:00
Nico Schottelius
0da3483223 begin to cleanup stages document
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-19 00:01:39 +01:00
Nico Schottelius
7a28777555 DO NOT CREATE /usr/bin/cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 18:19:05 +01:00
Nico Schottelius
8d8d7da036 cleanup file and issue type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:54:14 +01:00
Nico Schottelius
bd026bad18 define variables to be exported to types
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:42:59 +01:00
Nico Schottelius
de43f4d5d8 fix initial manifest and reorder HACKERS_README
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:33:16 +01:00
Nico Schottelius
ff41ce0318 ensure failing if manifest or gencode break
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:26:48 +01:00
Nico Schottelius
1b2ed7ab8a parameter type is required for __file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:13:55 +01:00
Nico Schottelius
b1c5012f3c Make __cdist_exit_err write on stderr :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:07:07 +01:00
Nico Schottelius
153be6af6c init -> manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 00:08:39 +01:00
Nico Schottelius
5ac606c563 adjust parameters of types
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 23:07:09 +01:00
Nico Schottelius
15f784d848 new style parameter list
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 22:23:55 +01:00
Nico Schottelius
aae3c6827c specify location of parameters
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 22:16:14 +01:00
Nico Schottelius
709271fd2e cleanup type __file, it can use cat from current dir directly now
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 19:42:10 +01:00
Steven Armstrong
4f1cc56bcd add support for gentoo to explorer pgk_system
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-02-08 13:07:24 +01:00
Steven Armstrong
f3584aa727 add support for gentoo to explorer os
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
2011-02-08 13:07:24 +01:00
Nico Schottelius
2f926582e0 +mass cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-08 00:08:05 +01:00
Nico Schottelius
34f845ec86 2nd level cconfig generation works (with debug)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 18:34:34 +01:00
Nico Schottelius
344d59005b add initial types describing document
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 18:13:04 +01:00
Nico Schottelius
9e2abff8be add new type which generates another type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 18:09:00 +01:00
Nico Schottelius
4c84c819f5 [type] NEW: issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 17:53:53 +01:00
Nico Schottelius
92a3661ece -debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:36:19 +01:00
Nico Schottelius
b944d82e92 include localhost in example configuration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:22:00 +01:00
Nico Schottelius
97a70cfc8b [ARCHIVE] Remove example modules containing collectd/efsh/nginx/postgres code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 23:05:53 +01:00
Nico Schottelius
6bd456f1e8 remove lib.obsoleted and save pacman hint
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 23:04:27 +01:00
Nico Schottelius
16f51ca14d Finish ugly explorer integration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 22:39:26 +01:00
Nico Schottelius
7c6a61f751 +update header
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-03 17:40:57 +01:00
Nico Schottelius
8a802f6db3 add debian/ubuntu support for default pkg_system
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-03 17:40:30 +01:00
Nico Schottelius
8cfcaf30a4 adjust path to os explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-03 17:39:32 +01:00
Nico Schottelius
4b5d7dda25 mega cleaunp discussion commit :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-03 13:24:56 +01:00
Nico Schottelius
d171ad5e64 restructure explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 22:24:21 +01:00
Nico Schottelius
3d556d0448 cleanup explorer naming
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 22:19:45 +01:00
Nico Schottelius
de28cf82e6 begin to cleanup obsoleted conf/lib directory
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 22:09:36 +01:00
Nico Schottelius
bf7ec38120 ignore the cache directory
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 21:45:15 +01:00
Nico Schottelius
e5297ddf31 move types to config dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 21:36:03 +01:00
Nico Schottelius
3156ef171e update manifest to use new variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 21:22:09 +01:00
Nico Schottelius
1d093f1c37 +x
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 20:26:26 +01:00
Nico Schottelius
81c7ba085f add hint for example configuration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 20:24:34 +01:00
Nico Schottelius
24d28b4a06 begin to write real world manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 14:02:29 +01:00
Nico Schottelius
7ce64ab407 hosts -> manifests
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 10:53:50 +01:00
Nico Schottelius
950fdc9e1a add postgresql module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-11-01 00:13:27 +01:00
Nico Schottelius
1a149434f5 add new host init file with example
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-11-01 00:09:30 +01:00
Nico Schottelius
2e0fa1cb95 old commit
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-28 20:34:03 +02:00
Nico Schottelius
a578fa37e3 more ideas
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-26 14:02:39 +02:00
Nico Schottelius
bf540836f8 big rename
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-25 12:36:30 +02:00
Nico Schottelius
53b21178f7 fix support for ubuntu, add first support for redhat
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-25 12:33:48 +02:00
Nico Schottelius
dab5854428 add first version of cdist_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-21 20:19:13 +02:00
Nico Schottelius
319f18cbad add library function cdist_file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-21 20:13:22 +02:00
Nico Schottelius
2c509a38c1 add cdist_file call
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-21 20:12:51 +02:00
Nico Schottelius
c6a91a1346 add testfile
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-21 20:12:27 +02:00
Nico Schottelius
9668e37fca package with options
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-21 19:00:22 +02:00
Nico Schottelius
e054d0c22c module loader implemented
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-20 02:30:16 +02:00
Nico Schottelius
4fe315b1e4 doc update, manifest extension
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-20 02:22:49 +02:00
Nico Schottelius
deec0db064 add first module prototype
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-20 02:20:09 +02:00
Nico Schottelius
8e27c9d70f cleanup homepage && function
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-20 01:48:55 +02:00
Nico Schottelius
d98bb4043c cdist-apply can install packages
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-20 01:25:05 +02:00
Nico Schottelius
9ac20660ef add cdist_package with dynamic backend selector
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-20 01:02:38 +02:00
Nico Schottelius
39d737014d support pacman packaging system
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-19 14:34:11 +02:00
Nico Schottelius
f65c78deb6 dynamic load new explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-19 14:28:12 +02:00
Nico Schottelius
34b75c2ad8 explore hostname
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-19 14:13:13 +02:00
Nico Schottelius
49ab674edf move lib below conf
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-19 14:04:39 +02:00
Nico Schottelius
c9897b9c55 add first manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-16 09:47:57 +02:00