saltstack/salt — pull request #2553 by thekuffs (2012-11-14 23:03:02+00:00)
Title: Fix NameError in yumpkg sources

There's a `NameError` that crops up when using `sources` in `pkg.install` for `yumpkg.py`

```
[MINION] out: Comment: An exception occured in this state: Traceback (most recent call last):
[MINION] out: File "salt/state.py", line 884, in call
[MINION] out: File "salt/states/pkg.py", line 87, in installed
[MINION] out: File "salt/modules/yumpkg.py", line 338, in install
[MINION] out: NameError: global name 'source' is not defined
[MINION] out:
```

This pull request fixes that.