saltstack/salt — pull request #2256 by thekuffs (2012-10-16 16:55:05+00:00)
Title: Add envionment and sls information to extend error

This adds additional debugging information to the error presented when an ID is not available to extend. The error message now explains where the extend declaration is made.

Original:
```
Extension nginx is not part of the high state
```

Extra Crispy:
```
Cannot extend ID nginx in "mgmt:salt.master". It is not part of the high state.
```

I've followed the convention set in #2255, but it probably doesn't need quotes in this case.