From 21638104f5b82ef06c4c60cf968aab5ae8906e31 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Fri, 1 Jun 2018 14:24:35 +0400 Subject: Bring in Tacker salt formula Install tacker from git repository since there is no ubuntu package yet. Change-Id: Ibe4b6486050213df1a545c5c79c43a635bbf6c08 Signed-off-by: Michael Polenchuk --- mcp/salt-formulas/tacker/map.jinja | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 mcp/salt-formulas/tacker/map.jinja (limited to 'mcp/salt-formulas/tacker/map.jinja') diff --git a/mcp/salt-formulas/tacker/map.jinja b/mcp/salt-formulas/tacker/map.jinja new file mode 100644 index 000000000..9a35c8e52 --- /dev/null +++ b/mcp/salt-formulas/tacker/map.jinja @@ -0,0 +1,21 @@ +{#- + Copyright (c) 2018 Mirantis Inc. 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 +-#} +{% set server = salt['grains.filter_by']({ + 'Debian': { + 'pkgs': ['python-heat-translator', 'python-tosca-parser', 'python-tackerclient'], + 'bind_host': '0.0.0.0', + 'git': { + 'source': 'https://github.com/openstack/tacker', + 'target': '/tmp/tacker', + 'branch': 'master', + }, + }, + 'RedHat': { + 'pkgs': 'openstack-tacker' + }, +}, merge=salt['pillar.get']('tacker:server')) %} -- cgit 1.2.3-korg