diff --git a/salt/file/cron/crontab.jinja b/salt/file/cron/crontab.jinja index 3866087..21fd60b 100644 --- a/salt/file/cron/crontab.jinja +++ b/salt/file/cron/crontab.jinja @@ -12,11 +12,13 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - #} +-#} + +PATH={{ salt['environ.get']('PATH') }} {%- for _, lines in accumulator | default({}) | dictsort(case_sensitive=true) -%} -{%- for line in lines | sort(case_sensitive=true) -%} +{%- for line in lines | sort(case_sensitive=true) %} {{ line }} -{% endfor -%} +{%- endfor -%} {%- endfor -%}