summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/gnocchi_deps
blob: 50e4a61dc2eb949a2d3c35a9683d1796af5f497a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash -e
##############################################################################
# Copyright (c) 2019 Mirantis Inc., Enea AB and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

salt -I 'gnocchi:server' pkg.install pkgs='["python-pip", "gnocchi-api"]'
salt -I 'gnocchi:server' pip.install protobuf,trollius user=gnocchi