mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add back in manual load of grains/minion_mods to sentry handler
This commit is contained in:
parent
f3a7d91457
commit
52029e302e
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,7 @@ from __future__ import absolute_import
|
|||
import logging
|
||||
|
||||
# Import salt libs
|
||||
import salt.loader
|
||||
from salt.log import LOG_LEVELS
|
||||
|
||||
# Import 3rd party libs
|
||||
|
@ -92,6 +93,8 @@ except ImportError:
|
|||
HAS_RAVEN = False
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
__grains__ = salt.loader.grains(__opts__)
|
||||
__salt__ = salt.loader.minion_mods(__opts__)
|
||||
|
||||
# Define the module's virtual name
|
||||
__virtualname__ = 'sentry'
|
||||
|
|
Loading…
Add table
Reference in a new issue