Browse Source

added log_level to salt minion

tags/2016.12
Ondrej Smola 8 years ago
parent
commit
cd92dbf958
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      salt/files/minion.conf
  2. +2
    -0
      salt/map.jinja

+ 2
- 0
salt/files/minion.conf View File

@@ -57,6 +57,8 @@ mine_interval: {{ minion.mine.get('interval', 30) }}

{%- endif %}

log_level: {{ minion.log.level }}

{%- if minion.sentry is defined %}
sentry_handler:
{% for server in minion.sentry.servers %}

+ 2
- 0
salt/map.jinja View File

@@ -55,6 +55,8 @@ default:
- python-pydot
- python-yaml
graph_states: False
log:
level: info
service: salt-minion
{%- if pillar.salt.get('minion', {}).get('source', {}).get('engine', 'pkg') == 'pkg' %}
install_state: "pkg: salt_minion_packages"

Loading…
Cancel
Save