0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-12-18 08:22:54 +01:00

Removed template refs, quoted log_datefmt_logfile

This commit is contained in:
Kenneth Wilke 2013-08-12 16:45:39 -05:00
parent 5403d433a1
commit d0df360e5d
2 changed files with 1 additions and 24 deletions

View File

@ -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 # 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 # can be seen here: http://docs.python.org/library/time.html#time.strftime
#log_datefmt: '%H:%M:%S' #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 # The format of the console logging messages. Allowed formatting options can
# be seen here: http://docs.python.org/library/logging.html#logrecord-attributes # be seen here: http://docs.python.org/library/logging.html#logrecord-attributes

View File

@ -15,26 +15,3 @@ salt-master:
- pkg: salt-minion - pkg: salt-minion
- watch: - watch:
- file: salt-minion - 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