Closed zanhsieh closed 9 years ago
My other configuration in case it's needed:
/srv/salt/os/tb/top.sls
os_tb:
'*':
- logrotate.conf
- logrotate.jobs
/srv/pillar/os/tb/top.sls
os_tb:
'*':
- logrotate
/srv/pillar/os/tb/logrotate.sls
# vim: sts=2 ts=2 sw=2 et ai
logrotate:
lookup:
pkg: logrotate
service: crond
jobs:
yum:
path: /var/log/yum.log
config:
- missingok
- notifempty
- yearly
- create 0600 root root
Your best bet is to upgrade jinja probably. You might be able to roll back to a version before that was introduced (try git checkout 8f64b9ab0333c5d6fe934e94b2e31108a7a17ec6 )
Problem indeed solved after rollback to 8f64b9a. I will close this issue.
@zanhsieh rather than rolling back, i ended up updating Jinja2 via pip then restarting the minion on el6 nodes. just incase anyone else runs into this issue.
Hi, I encounter this issue on salt 2015.5.0 @ CentOS 6:
Besides upgrade jinja2 per this link, just wonder if there's anyway to go around. Thanks.