As far as I know Salt only supports Unix and Windows. 

Exception handling here is not necessary since umask can by definition never fail. From umask(2):

```
ERRORS
     The umask() function is always successful.
```