mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
This module was accidentally overwriting core grains during tests.
This commit is contained in:
parent
525256fa68
commit
dd50c33543
1 changed files with 2 additions and 1 deletions
|
@ -2,13 +2,14 @@
|
|||
'''
|
||||
Generate baseline proxy minion grains
|
||||
'''
|
||||
import salt.utils
|
||||
__proxyenabled__ = ['rest_sample']
|
||||
|
||||
__virtualname__ = 'rest_sample'
|
||||
|
||||
|
||||
def __virtual__():
|
||||
if 'proxy' not in __opts__:
|
||||
if not salt.utils.is_proxy():
|
||||
return False
|
||||
else:
|
||||
return __virtualname__
|
||||
|
|
Loading…
Add table
Reference in a new issue