1 tosca_definitions_version: tosca_simple_yaml_1_0
4 TOSCA simple profile with wordpress, web server and mysql on the same server.
5 Parsing of this test template will fail with errors if provided imports does
6 not refer to a valid absolute path.
9 - /tmp/tosca-parser/toscaparser/tests/data/custom_types/wordpress.yaml
15 description: Number of CPUs for the server.
17 - valid_values: [ 1, 2, 4, 8 ]
21 description: The name of the database.
25 description: The user name of the DB user.
29 description: The WordPress database admin account password.
33 description: Root password for MySQL.
36 description: Port for the MySQL database.
41 type: tosca.nodes.WebApplication.WordPress
44 - database_endpoint: mysql_database
47 create: wordpress/wordpress_install.sh
49 implementation: wordpress/wordpress_configure.sh
53 wp_db_password: wp_pass
56 type: tosca.nodes.Database
58 name: { get_input: db_name }
59 user: { get_input: db_user }
60 password: { get_input: db_pwd }
64 port: { get_input: db_port }
71 implementation: mysql/mysql_database_configure.sh
76 db_root_password: passw0rd
78 type: tosca.nodes.DBMS
80 root_password: { get_input: db_root_pwd }
81 port: { get_input: db_port }
87 implementation: mysql/mysql_dbms_install.sh
89 db_root_password: passw0rd
90 start: mysql/mysql_dbms_start.sh
92 implementation: mysql/mysql_dbms_configure.sh
97 type: tosca.nodes.WebServer
102 create: webserver/webserver_install.sh
103 start: webserver/webserver_start.sh
105 type: tosca.nodes.Compute
110 num_cpus: { get_input: cpus }
121 description: URL for Wordpress wiki.
122 value: { get_attribute: [server, private_address] }