saltstack/salt — pull request #11117 by fsniper (2014-03-11 07:06:39+00:00)
Title: Fix for #10656: __env__ should be passed around instead of env

This is a fix for cron state where env variable is passed around instead of __env__. Leading to this problem:

```
[INFO ] Running state [salt://cron/configs/ops_root.txt] at time 16:47:40.498803
[INFO ] Executing state cron.file for salt://cron/configs/ops_root.txt
[INFO ] Executing command 'crontab -l -u root' in directory '/root'
[INFO ] stdout: #

[ERROR ] Unable to manage file: 'NoneType' object has no attribute 'startswith'
[INFO ] Completed state [salt://cron/configs/ops_root.txt] at time 16:47:40.521779
```