Browse Source

Overhauled master config template

master
Kenneth Wilke 11 years ago
parent
commit
be1cd4ff73
1 changed files with 11 additions and 4 deletions
  1. +11
    -4
      salt/files/master

+ 11
- 4
salt/files/master View File

# This file managed by Salt, do not edit!!
# This file managed by Salt, do not edit by hand!!
# Based on salt version 0.16.3 default config
{% set salt = pillar.get('salt', {}) -%} {% set salt = pillar.get('salt', {}) -%}
{% set master = salt.get('master', {}) -%} {% set master = salt.get('master', {}) -%}
#
#
##### Primary configuration settings ##### ##### Primary configuration settings #####
########################################## ##########################################
# This configuration file is used to manage the behavior of the Salt Master # This configuration file is used to manage the behavior of the Salt Master
# Per default, the master will automatically include all config files # Per default, the master will automatically include all config files
# from master.d/*.conf (master.d is a directory in the same directory # from master.d/*.conf (master.d is a directory in the same directory
# as the main master config file) # as the main master config file)
{%- if 'default_include' in master %}
default_include: {{ master['default_include'] }}
{% else %}
#default_include: master.d/*.conf #default_include: master.d/*.conf
{%- endif %}


# The address of the interface to bind to # The address of the interface to bind to
interface: {{ master.get('interface', '0.0.0.0') }}
{%- if 'interface' in master %}
interface: {{ master['interface'] }}
{% else %}
#interface: 0.0.0.0
{%- endif %}


# The tcp port used by the publisher # The tcp port used by the publisher
#publish_port: {{ salt.get('publish_port', 4505) }} #publish_port: {{ salt.get('publish_port', 4505) }}

Loading…
Cancel
Save