--- /dev/null
+#!/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
salt -I 'barbican:server:role:secondary' state.sls barbican -b 1
salt -I 'barbican:client' state.sls barbican
+$(dirname "${BASH_SOURCE[0]}")/gnocchi_deps
salt -I 'redis:cluster:role:master' state.sls redis
salt -I 'redis:server' state.sls redis
salt -I 'gnocchi:server' state.sls gnocchi -b 1
salt -I 'barbican:server' state.sls barbican
salt -I 'barbican:client' state.sls barbican
+$(dirname "${BASH_SOURCE[0]}")/gnocchi_deps
salt -I 'redis:server' state.sls redis
salt -I 'gnocchi:server' state.sls gnocchi
salt -I 'panko:server' state.sls panko