mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Evan Moar Lint
This commit is contained in:
parent
65fef9a7c0
commit
f2e55128bb
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
def test(grains):
|
||||
if 'os' in grains:
|
||||
return {'custom_grain_test': 'itworked'}
|
||||
return {'custom_grain_test': 'itdidntwork'}
|
||||
return {'custom_grain_test': 'itworked' if 'os' in grains else 'itdidntwork'}
|
||||
|
|
Loading…
Add table
Reference in a new issue