saltstack/salt — pull request #8099 by malinoff (2013-10-25 14:22:43+00:00)
Title: Fixed wrong include statement behavior

Right now I can't include a state from other environment in ``` include``` statement:
```
include:
- base: test
```
It gives the output:
```
[DEBUG ] Results of YAML rendering:
OrderedDict([('include', [OrderedDict([('base', 'test')])])])
[CRITICAL] Unknown include: Specified SLS base: test is not available on the salt master in environment(s): base
```
As i investigated, rendering fails because of wrong condition.
Switching ```and``` with ```or``` resolves the problem (as i see).