1 heat_template_version: 2013-05-23
4 TOSCA simple profile with wordpress, web server and mysql on the same server.
9 description: The name of the database.
13 description: The user name of the DB user.
17 description: The WordPress database admin account password.
21 description: Number of CPUs for the server.
31 description: Root password for MySQL.
35 description: Port for the MySQL database.
40 mysql_dbms_create_config:
41 type: OS::Heat::SoftwareConfig
44 get_file: ../Scripts/MYSQLDBMS/install.sh
47 mysql_dbms_create_deploy:
48 type: OS::Heat::SoftwareDeployment
51 get_resource: mysql_dbms_create_config
55 mysql_dbms_start_config:
56 type: OS::Heat::SoftwareConfig
59 get_file: ../Scripts/MYSQLDBMS/start.sh
62 mysql_dbms_start_deploy:
63 type: OS::Heat::SoftwareDeployment
66 get_resource: mysql_dbms_start_config
70 - mysql_dbms_configure_deploy
72 mysql_dbms_configure_config:
73 type: OS::Heat::SoftwareConfig
76 get_file: ../Scripts/MYSQLDBMS/configure.sh
79 mysql_dbms_configure_deploy:
80 type: OS::Heat::SoftwareDeployment
83 get_resource: mysql_dbms_configure_config
86 get_param: db_root_pwd
90 - mysql_dbms_create_deploy
92 mysql_database_configure_config:
93 type: OS::Heat::SoftwareConfig
96 get_file: ../Scripts/MYSQLDatabase/configure.sh
99 mysql_database_configure_deploy:
100 type: OS::Heat::SoftwareDeployment
103 get_resource: mysql_database_configure_config
110 get_param: db_root_pwd
116 - mysql_dbms_start_deploy
118 webserver_create_config:
119 type: OS::Heat::SoftwareConfig
122 get_file: ../Scripts/WebServer/install.sh
125 webserver_create_deploy:
126 type: OS::Heat::SoftwareDeployment
129 get_resource: webserver_create_config
133 webserver_start_config:
134 type: OS::Heat::SoftwareConfig
137 get_file: ../Scripts/WebServer/start.sh
140 webserver_start_deploy:
141 type: OS::Heat::SoftwareDeployment
144 get_resource: webserver_start_config
148 - webserver_create_deploy
150 wordpress_create_config:
151 type: OS::Heat::SoftwareConfig
154 get_file: ../Scripts/WordPress/install.sh
157 wordpress_create_deploy:
158 type: OS::Heat::SoftwareDeployment
161 get_resource: wordpress_create_config
165 - webserver_start_deploy
166 - mysql_database_configure_deploy
168 wordpress_configure_config:
169 type: OS::Heat::SoftwareConfig
172 get_file: ../Scripts/WordPress/configure.sh
175 wordpress_configure_deploy:
176 type: OS::Heat::SoftwareDeployment
179 get_resource: wordpress_configure_config
190 - wordpress_create_deploy
193 type: OS::Nova::Server
196 image: fedora-amd64-heat-config
197 user_data_format: SOFTWARE_CONFIG
201 description: IP address for Wordpress wiki.