This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/roboconf-graph/roboconf.graph
Oleh Prypin 6f43092173
Also add auto-updatable output-based tests to examplefiles (#1689)
Co-authored-by: Georg Brandl <georg@python.org>
2021-01-20 10:48:45 +01:00

40 lines
591 B
Text

##################
# 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.*;
}