begin to write cdist-type.text

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-07 20:42:41 +01:00
parent dd840ce278
commit 70494afbca
2 changed files with 4 additions and 3 deletions

View file

@ -4,4 +4,4 @@ Documentation cleanup
- define how to in cdist-type-integration - define how to in cdist-type-integration
- referenced on the webpage via cdist-type(7)! - referenced on the webpage via cdist-type(7)!
- how to debug explorer and codegen

View file

@ -39,9 +39,10 @@ with a type specific unique id that stores the parameters
HOW TO WRITE A NEW TYPE (TODO) HOW TO WRITE A NEW TYPE (TODO)
------------------------------ ------------------------------
Assume you want to create the new type named "coffee": Assume you want to create the new type named "coffee", which creates
files which contain the word "c0ffee".
Create the directory /etc/cdist/types/coffee/ Create the directory conf/type/coffee/.
Create the file /etc/cdist/types/coffee/README containing a description of the Create the file /etc/cdist/types/coffee/README containing a description of the
type. type.
If your type supports attributes, create the directory /etc/cdist/types/coffee/ If your type supports attributes, create the directory /etc/cdist/types/coffee/