aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/gnocchi_deps
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/config/states/gnocchi_deps')
-rwxr-xr-xmcp/config/states/gnocchi_deps11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcp/config/states/gnocchi_deps b/mcp/config/states/gnocchi_deps
new file mode 100755
index 000000000..50e4a61dc
--- /dev/null
+++ b/mcp/config/states/gnocchi_deps
@@ -0,0 +1,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