This commit is contained in:
Denys Havrysh
2017-02-13 16:27:22 +02:00
parent 3c2d65b8b0
commit 4af8512483
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ postgres:
# Backup extension for configuration files, defaults to ``.bak``.
# Set ``False`` to stop creation of backups when config files change.
{%- if 'status.time' in salt.keys() %}
{%- if salt['status.time']|default(none) is callable %}
config_backup: ".backup@{{ salt['status.time']('%y-%m-%d_%H:%M:%S') }}"
{%- endif %}