ideas for type improvements

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-07-01 14:42:17 +02:00
parent dd949d5984
commit 0736f7dfd3
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,9 @@
when all objects of a type are applied, then run the types gencode-{local,remote} scripts
--------------------------------------------------------------------------------
__mein_type/
type/ # executed when all objects of this type have been applied
gencode-local
gencode-remote

View File

@ -0,0 +1,22 @@
types can contribute global explorers
--------------------------------------------------------------------------------
__mein_type/
global/
explorer/
status-von-foo
anderer
$out/explorer/
hostname
os
...
__mein_type/
status-von-foo
anderer
todos:
- cdist scans types for global/explorer's
- when executing explorers, create the types namespace folder before running type gobal explorers