Ejemplo n.º 1
0
    def __init__(self, *args, **kwargs):
        self._plugin = cache_loader.get(C.CACHE_PLUGIN)
        self._display = display

        if self._plugin is None:
            self._display.warning("Failed to load fact cache plugins")
            return
Ejemplo n.º 2
0
    def __init__(self, *args, **kwargs):
        self._plugin = cache_loader.get(C.CACHE_PLUGIN)
        # Backwards compat: self._display isn't really needed, just import the global display and use that.
        self._display = display

        if self._plugin is None:
            display.warning("Failed to load fact cache plugins")
            return
Ejemplo n.º 3
0
    def __init__(self, *args, **kwargs):
        self._plugin = cache_loader.get(C.CACHE_PLUGIN)
        # Backwards compat: self._display isn't really needed, just import the global display and use that.
        self._display = display

        if self._plugin is None:
            display.warning("Failed to load fact cache plugins")
            return
Ejemplo n.º 4
0
    def __init__(self, *args, **kwargs):

        self._plugin = cache_loader.get(C.CACHE_PLUGIN)
        if not self._plugin:
            raise AnsibleError('Unable to load the facts cache plugin (%s).' %
                               (C.CACHE_PLUGIN))

        # Backwards compat: self._display isn't really needed, just import the global display and use that.
        self._display = display
Ejemplo n.º 5
0
    def __init__(self, *args, **kwargs):
        self._plugin = cache_loader.get(C.CACHE_PLUGIN)
        if not self._plugin:
            raise AnsibleError(
                'Unable to load the facts cache plugin (%s)\n'
                'Check fact cache config options :\n'
                'Current values:\n'
                '    fact_caching: %s\n'
                '    fact_caching_connection: %s' %
                (C.CACHE_PLUGIN, C.CACHE_PLUGIN, C.CACHE_PLUGIN_CONNECTION))

        # Backwards compat: self._display isn't really needed, just import the global display and use that.
        self._display = display

        if self._plugin is None:
            display.warning("Failed to load fact cache plugins")
            return
Ejemplo n.º 6
0
 def __init__(self, *args, **kwargs):
     self._plugin = cache_loader.get(C.CACHE_PLUGIN)
     if self._plugin is None:
         # FIXME: this should be an exception
         return
Ejemplo n.º 7
0
 def __init__(self, *args, **kwargs):
     self._plugin = cache_loader.get(C.CACHE_PLUGIN)
     if self._plugin is None:
         # FIXME: this should be an exception
         return
Ejemplo n.º 8
0
 def __init__(self, *args, **kwargs):
     self._plugin = cache_loader.get(C.CACHE_PLUGIN)
     if self._plugin is None:
         return
Ejemplo n.º 9
0
 def __init__(self, *args, **kwargs):
     self._plugin = cache_loader.get(C.CACHE_PLUGIN)
     if self._plugin is None:
         return