blob: e5fdedff616373a7a7840ad4bf94d9a0f789e145 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
##################
# A sample graph
##################
import some-definition.graph;
import another-definition.graph;
VM {
installer : target;
children: deployable;
}
facet deployable {
# nothing
}
# Sample deployables
mysql {
insTaller: puppet;
facets: deployable;
exports: ip, port = 3306;
}
tomcat {
installer: bash;
facets: deployable;
exports: ip;
children: web-application;
}
facet web-application {
exports: full-path = undefined;
}
my-war-1 {
facets: web-application;
installer: file;
exports: full-path = apps/my-war-1; # the relative path
imports: mysql.*;
}
|