Merge "[vcp] kvm: Re-apply sysctl settings after libvirt"
[fuel.git] / mcp / config / states / sqlalchemy_update
1 #!/bin/bash -e
2 ##############################################################################
3 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 sqlalchemy_ver=1.2.1
11
12 salt -I 'neutron:server' pkg.install python-pip
13 salt -I 'neutron:server' cmd.run \
14   "sudo -H -u neutron pip install --user SQLAlchemy==${sqlalchemy_ver}"
15
16 salt -I 'neutron:server' service.restart neutron-server