added context to template imports

This commit is contained in:
Kenneth Wilke 2013-08-19 10:13:19 -05:00
parent 8d366c8a39
commit 1978f98cd4
3 changed files with 3 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{% from "mysql/pillar-settings.jinja" import server %}
{% from "mysql/pillar-settings.jinja" import server with context %}
# This file managed by Salt, do not edit by hand!!
#
# The MySQL database server configuration file.
@ -46,7 +46,6 @@ skip-external-locking
#
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
{{ if pillar
bind-address = {{ server.get('bind-address', '127.0.0.1') }}
#
# * Fine Tuning

View file

@ -1,4 +1,4 @@
{% from "mysql/pillar-settings.jinja" import server %}
{% from "mysql/pillar-settings.jinja" import server with context %}
# This file managed by Salt, do not edit by hand!!
# /etc/mysql/my.cnf: The global mysql configuration file.
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/my.cnf-5.1,v 1.4 2013/01/20 02:40:02 robbat2 Exp $

View file

@ -1,4 +1,4 @@
{% from "mysql/pillar-settings.jinja" import server %}
{% from "mysql/pillar-settings.jinja" import server with context %}
# This file managed by Salt, do not edit by hand!!
#
# The MySQL database server configuration file.