salt/tests/integration/files/file/base/_grains/matcher_grain.py
Mike Place e81bd6ee94 Test custom grains matcher (#34324)
* Add test to match against custom grains

* Lint

* Forgot to add custom grain
2016-06-28 12:17:14 -04:00

6 lines
107 B
Python

#!/usr/bin/env python
def myfunction():
grains = {}
grains['match'] = 'maker'
return grains