mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
parent
b4e096a57b
commit
92c313b8f2
@ -9,6 +9,7 @@ def opts():
|
||||
'''
|
||||
Return the minion configuration settings
|
||||
'''
|
||||
if __opts__.get('grain_opts', False) or __pillar__.get('grain_opts', False):
|
||||
if __opts__.get('grain_opts', False) or \
|
||||
(isinstance(__pillar__, dict) and __pillar__.get('grain_opts', False)):
|
||||
return __opts__
|
||||
return {}
|
||||
|
Loading…
Reference in New Issue
Block a user