saltstack/salt — pull request #2523 by SEJeff (2012-11-11 23:17:37+00:00)
Title: Random module updates

Note for the SELinux module... I do not have a SELinux capable system at the moment to test the changes on, but they should be harmless cleanups. However, I'd rather someone who has immediate access to a Fedora system test them before merging any of this.

For the ``TODO`` I added to the hosts module, I'd *really* like @UtahDave see if he can make that work. On a windows desktop, I tried ```echo %SystemRoot%```, and it returned ``C:\windows``. It would be best to do something to the effect of:
```python
path = '%s/system32'.format(os.environ.get('SystemRoot', 'C:\windows'))```

That way we'll catch all of the cases that install the main OS onto another drive for odd reasons. It might not happen often, but I've most def ran across it.