summaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/salt-formula-quagga/quagga/map.jinja
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-10-31 16:02:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-31 16:02:45 +0000
commit4ab45dddc0f2e84250d5d2dfd8eadba17ac03661 (patch)
tree6152e694751f6f78f7b199aed4e9f944efb764da /mcp/salt-formulas/salt-formula-quagga/quagga/map.jinja
parent66041473fa5b1a539b8a1fd5b98cf2e94f9fbf49 (diff)
parent36d842cd4938d97d6cd16b3fafe4740aaa4f288e (diff)
Merge "Add odl bgpvpn noha scenario to fuel" into stable/gambia
Diffstat (limited to 'mcp/salt-formulas/salt-formula-quagga/quagga/map.jinja')
-rw-r--r--mcp/salt-formulas/salt-formula-quagga/quagga/map.jinja21
1 files changed, 21 insertions, 0 deletions
diff --git a/mcp/salt-formulas/salt-formula-quagga/quagga/map.jinja b/mcp/salt-formulas/salt-formula-quagga/quagga/map.jinja
new file mode 100644
index 000000000..a76c760d9
--- /dev/null
+++ b/mcp/salt-formulas/salt-formula-quagga/quagga/map.jinja
@@ -0,0 +1,21 @@
+{#-
+ Copyright (c) 2018 Intracom Telecom 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': ['libglib2.0-0'],
+ 'quagga_package_url': 'https://wiki.opnfv.org/download/attachments/6827916/quagga-ubuntu.tar.gz',
+ 'quagga_package_checksum': 'https://wiki.opnfv.org/download/attachments/6827916/quagga-ubuntu.checksum',
+ 'install_cmd': 'dpkg -i'
+ },
+ 'RedHat': {
+ 'pkgs': ['glib2', 'glib2-devel'],
+ 'quagga_package_url': 'https://wiki.opnfv.org/download/attachments/6827916/quagga-4.tar.gz',
+ 'quagga_package_checksum': 'https://wiki.opnfv.org/download/attachments/6827916/quagga-4.checksum',
+ 'install_cmd': 'yum -y'
+ },
+}, merge=salt['pillar.get']('quagga:server')) %}