saltstack-formulas / logrotate-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
23 stars 71 forks source link

Include jobs.sls in init.sls? #57

Closed mdschmitt closed 3 years ago

mdschmitt commented 3 years ago

Just wondering why jobs.sls isn't part of init.sls ..?

Is there a specific reason it's not in there? I would think that the following line would make it so that it could be included without issue if there's no jobs definition in the pillar...

{% set jobs = salt['pillar.get']('logrotate:jobs', {}) %}
javierbertoli commented 3 years ago

@mdschmitt I think there is no reason for not adding it. I submitted a PR to fix it.

saltstack-formulas-travis commented 3 years ago

:tada: This issue has been resolved in version 0.12.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: