diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2019-02-22 12:45:52 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2019-02-22 12:46:34 +0400 |
commit | f4dc20b22f9c44cd8ffa47cefc648bd4202c2ac1 (patch) | |
tree | 65d4d7a3934f5bd797397845f5422870b52a0a24 /mcp/config/states/gnocchi_deps | |
parent | 3c34bab9279d5dbe7df3824131e4487e5017ef15 (diff) |
Install missing gnocchi dependencies
Change-Id: Ifc4fff90551344c69295990b220f0778967887a4
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states/gnocchi_deps')
-rwxr-xr-x | mcp/config/states/gnocchi_deps | 11 |
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 |