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:
parent
5403d433a1
commit
d0df360e5d
@ -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
|
||||||
|
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user