1 heat_template_version: 2014-10-16
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
54 signal_transport: HEAT_SIGNAL
56 mysql_dbms_start_config:
57 type: OS::Heat::SoftwareConfig
60 get_file: ../Scripts/MYSQLDBMS/start.sh
63 mysql_dbms_start_deploy:
64 type: OS::Heat::SoftwareDeployment
67 get_resource: mysql_dbms_start_config
70 signal_transport: HEAT_SIGNAL
72 - mysql_dbms_configure_deploy
74 mysql_dbms_configure_config:
75 type: OS::Heat::SoftwareConfig
78 get_file: ../Scripts/MYSQLDBMS/configure.sh
81 mysql_dbms_configure_deploy:
82 type: OS::Heat::SoftwareDeployment
85 get_resource: mysql_dbms_configure_config
88 get_param: db_root_pwd
91 signal_transport: HEAT_SIGNAL
93 - mysql_dbms_create_deploy
95 mysql_database_configure_config:
96 type: OS::Heat::SoftwareConfig
99 get_file: ../Scripts/MYSQLDatabase/configure.sh
102 mysql_database_configure_deploy:
103 type: OS::Heat::SoftwareDeployment
106 get_resource: mysql_database_configure_config
113 get_param: db_root_pwd
118 signal_transport: HEAT_SIGNAL
120 - mysql_dbms_start_deploy
122 webserver_create_config:
123 type: OS::Heat::SoftwareConfig
126 get_file: ../Scripts/WebServer/install.sh
129 webserver_create_deploy:
130 type: OS::Heat::SoftwareDeployment
133 get_resource: webserver_create_config
136 signal_transport: HEAT_SIGNAL
138 webserver_start_config:
139 type: OS::Heat::SoftwareConfig
142 get_file: ../Scripts/WebServer/start.sh
145 webserver_start_deploy:
146 type: OS::Heat::SoftwareDeployment
149 get_resource: webserver_start_config
152 signal_transport: HEAT_SIGNAL
154 - webserver_create_deploy
156 wordpress_create_config:
157 type: OS::Heat::SoftwareConfig
160 get_file: ../Scripts/WordPress/install.sh
163 wordpress_create_deploy:
164 type: OS::Heat::SoftwareDeployment
167 get_resource: wordpress_create_config
170 signal_transport: HEAT_SIGNAL
172 - webserver_start_deploy
173 - mysql_database_configure_deploy
175 wordpress_configure_config:
176 type: OS::Heat::SoftwareConfig
179 get_file: ../Scripts/WordPress/configure.sh
182 wordpress_configure_deploy:
183 type: OS::Heat::SoftwareDeployment
186 get_resource: wordpress_configure_config
196 signal_transport: HEAT_SIGNAL
198 - wordpress_create_deploy
201 type: OS::Nova::Server
204 image: fedora-amd64-heat-config
205 user_data_format: SOFTWARE_CONFIG
206 software_config_transport: POLL_SERVER_HEAT
210 description: IP address for Wordpress wiki.