Pārlūkot izejas kodu

Removed template refs, quoted log_datefmt_logfile

tags/v0.57.0
Kenneth Wilke pirms 11 gadiem
vecāks
revīzija
d0df360e5d
2 mainītis faili ar 1 papildinājumiem un 24 dzēšanām
  1. +1
    -1
      salt/files/master
  2. +0
    -23
      salt/master.sls

+ 1
- 1
salt/files/master Parādīt failu

@@ -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 Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt