diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2019-07-05 12:00:12 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2019-07-10 14:40:32 +0400 |
commit | e8905d1c928a2e674ff399d96384466572f985b3 (patch) | |
tree | 8bf90a223a0a89f62011780dd3a5ce9977ab145b /mcp/config/states/openstack_noha | |
parent | 45c9f16e592d5d205d55189baef5fb5c01c8a6fc (diff) |
[virtual] Update OpenStack version to Stein
Change-Id: I9c1e97144ffd46040d32a0edf8253fc393b73c89
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states/openstack_noha')
-rwxr-xr-x | mcp/config/states/openstack_noha | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mcp/config/states/openstack_noha b/mcp/config/states/openstack_noha index f79d9f657..cb6059d9e 100755 --- a/mcp/config/states/openstack_noha +++ b/mcp/config/states/openstack_noha @@ -46,6 +46,12 @@ salt -I 'nova:compute' state.sls nova,armband salt -I 'barbican:server' state.sls barbican salt -I 'barbican:client' state.sls barbican +# remove config files coming from packages +for service in gnocchi panko; do + salt -I "${service}:server" pkg.install ${service}-api + salt -I "${service}:server" file.remove "/etc/apache2/sites-enabled/${service}-api.conf" +done + salt -I 'redis:server' state.sls redis salt -I 'gnocchi:server' state.sls gnocchi salt -I 'panko:server' state.sls panko |