Refactor applications scripts to make it more clear and fault-tolerant

Registered by Dmytro Dovbii

Some applications use scripts that contain a large list of different actions, lumped together in a single file. It spoils the readability of the app implementation and may lead to a situation when one command in a middle of the script fails with an error, but the last command is successful - so, the result of whole script is successful too.
For example, ww have next script for apache installation: https://github.com/openstack/murano-apps/blob/master/CloudFoundry/package/Classes/CloudFoundry.yaml
First part of script installs application and second configures firewall. It can be easily devided to two scripts.
We need to logically divide all existing scripts according to functionality and add the checks for the command to stop execution when it fails.

Blueprint information

Status:
Not started
Approver:
Serg Melikyan
Priority:
Undefined
Drafter:
Dmytro Dovbii
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/refactor-apps-scripts,n,z

Addressed by: https://review.openstack.org/269577
    [ApacheHTTPServer] Deployment script optimization

Addressed by: https://review.openstack.org/289322
    {WIP} Refactor implementation of murano apllications

Addressed by: https://review.openstack.org/292889
    Use simple software configuration instead of EP

Addressed by: https://review.openstack.org/300464
    [MySql] Use simple software configuration

Addressed by: https://review.openstack.org/300465
    [WordPress] Use simple software configuration

Addressed by: https://review.openstack.org/300466
    [MongoDB] Use simple software configuration

Addressed by: https://review.openstack.org/300467
    [Cassandra] Use simple software configuration

Addressed by: https://review.openstack.org/300468
    [Guacamole] Use simple software configuration

Addressed by: https://review.openstack.org/300469
    [Rally] Use simple software configuration

Addressed by: https://review.openstack.org/300470
    [Tomcat] Use simple software configuration

Addressed by: https://review.openstack.org/300471
    [ZabbixServer] Use simple software configuration

Addressed by: https://review.openstack.org/300472
    [PostgreSql] Use simple software configuration

Addressed by: https://review.openstack.org/301136
    Fix yaql related issues in Docker apps

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.