Ver código fonte

Removed template refs, quoted log_datefmt_logfile

tags/v0.57.0
Kenneth Wilke 11 anos atrás
pai
commit
d0df360e5d
2 arquivos alterados com 1 adições e 24 exclusões
  1. +1
    -1
      salt/files/master
  2. +0
    -23
      salt/master.sls

+ 1
- 1
salt/files/master Ver arquivo

@@ -488,7 +488,7 @@ log_level_logfile: {{ salt.get('log_level_logfile', 'warning') }}
# The date and time format used in log messages. Allowed date/time formating
# can be seen here: http://docs.python.org/library/time.html#time.strftime
#log_datefmt: '%H:%M:%S'
log_datefmt_logfile: {{ salt.get('log_datefmt_logfile', '%Y-%m-%d %H:%M:%S') }}
log_datefmt_logfile: '{{ salt.get('log_datefmt_logfile', '%Y-%m-%d %H:%M:%S') }}'

# The format of the console logging messages. Allowed formatting options can
# be seen here: http://docs.python.org/library/logging.html#logrecord-attributes

+ 0
- 23
salt/master.sls Ver arquivo

@@ -15,26 +15,3 @@ salt-master:
- pkg: salt-minion
- watch:
- file: salt-minion

configure-salt-master:
file.managed:
- name: /etc/salt/master
- source: salt://salt/templates/master.template
- template: jinja
- user: root
- groupt: root
- mode: 0700

run-salt-master:
cmd.wait:
- name: start salt-master
- watch:
- file: run-salt-master
- require:
- file: configure-salt-master
file.managed:
- name: /etc/init/salt-master
- source: salt://salt/templates/upstart-master.conf
- template: jinja
- defaults:
run_mode: master

Carregando…
Cancelar
Salvar