mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
added context to template imports
This commit is contained in:
parent
8d366c8a39
commit
1978f98cd4
3 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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 $
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue