Skip to content

"yamlfile" module file spec

erikwb edited this page Dec 2, 2011 · 5 revisions

The "yamlfile" module included with libcrange allows you to specify clusters using a directory full of yaml files.

By default, it looks in /etc/range/*.yaml for these files. Each cluster is represented by one file named CLUSTER.yaml, where CLUSTER is the name of the cluster you want.

Example:

$ cat /etc/range/test.yaml
CLUSTER: host1..100.test.com
APPS: 
  - frontend
  - backend
  - mysql
Clone this wiki locally