summaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/tacker/files/tacker.conf
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-06-01 14:24:35 +0400
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-06-08 15:30:42 +0200
commit21638104f5b82ef06c4c60cf968aab5ae8906e31 (patch)
tree48b550bfb5b39152a95d3cf86f7580aba2b71fb8 /mcp/salt-formulas/tacker/files/tacker.conf
parentbf341b7e0d7e423044827f379e4b180e9dc897a1 (diff)
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 <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/salt-formulas/tacker/files/tacker.conf')
-rw-r--r--mcp/salt-formulas/tacker/files/tacker.conf45
1 files changed, 45 insertions, 0 deletions
diff --git a/mcp/salt-formulas/tacker/files/tacker.conf b/mcp/salt-formulas/tacker/files/tacker.conf
new file mode 100644
index 000000000..7adfd3139
--- /dev/null
+++ b/mcp/salt-formulas/tacker/files/tacker.conf
@@ -0,0 +1,45 @@
+##############################################################################
+# 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
+##############################################################################
+{%- from "tacker/map.jinja" import server with context %}
+
+[DEFAULT]
+auth_strategy = keystone
+policy_file = /usr/local/etc/tacker/policy.json
+debug = True
+use_syslog = False
+bind_host = {{ server.bind_host }}
+bind_port = 9890
+service_plugins = nfvo,vnfm
+
+state_path = /var/lib/tacker
+
+[nfvo_vim]
+vim_drivers = openstack
+
+[keystone_authtoken]
+region_name = {{ server.identity.region }}
+auth_type = password
+user_domain_id = {{ server.identity.get('domain', 'default') }}
+project_domain_id = {{ server.identity.get('domain', 'default') }}
+project_name = {{ server.identity.tenant }}
+username = {{ server.identity.user }}
+password = {{ server.identity.password }}
+auth_url = http://{{ server.identity.host }}:35357
+www_authenticate_uri = http://{{ server.identity.host }}:5000
+{%- if server.cache is defined %}
+memcached_servers={%- for member in server.cache.members %}{{ member.host }}:11211{% if not loop.last %},{% endif %}{%- endfor %}
+{%- endif %}
+
+[agent]
+root_helper = sudo /usr/local/bin/tacker-rootwrap /usr/local/etc/tacker/rootwrap.conf
+
+[database]
+connection = {{ server.database.engine }}+pymysql://{{ server.database.user }}:{{ server.database.password }}@{{ server.database.host }}/{{ server.database.name }}?charset=utf8
+
+[tacker]
+monitor_driver = ping,http_ping