示例#1
0
文件: gogrid.py 项目: yanghao-zh/salt
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(__opts__, __active_provider_name__
                                         or 'gogrid',
                                         ('apikey', 'sharedsecret'))
示例#2
0
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__, 'aws',
        ('id', 'key', 'keyname', 'securitygroup', 'private_key'))
示例#3
0
文件: libcloud_aws.py 项目: hulu/salt
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'aws',
        ('id', 'key', 'keyname', 'securitygroup', 'private_key')
    )
示例#4
0
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'softlayer-hw',
        ('apikey',)
    )
示例#5
0
文件: rackspace.py 项目: hulu/salt
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'rackspace',
        ('user', 'apikey')
    )
示例#6
0
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'cloudstack',
        ('apikey', 'secretkey', 'host', 'path')
    )
示例#7
0
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'ibmsce',
        ('user', 'password')
    )
示例#8
0
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'openstack',
        ('user',)
    )
示例#9
0
文件: cloudstack.py 项目: hulu/salt
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'cloudstack',
        ('apikey', 'secretkey', 'host', 'path')
    )
示例#10
0
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'saltify',
        ()
    )
示例#11
0
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'digital_ocean',
        ('api_key',)
    )
示例#12
0
文件: gogrid.py 项目: hulu/salt
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'gogrid',
        ('apikey', 'sharedsecret')
    )
示例#13
0
文件: saltify.py 项目: hulu/salt
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'saltify',
        ()
    )
示例#14
0
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'nova',
        ('auth_minion',)
    )
示例#15
0
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__, __active_provider_name__ or 'rackspace', ('user', 'apikey'))
示例#16
0
文件: linode.py 项目: yanghao-zh/salt
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(__opts__, __active_provider_name__
                                         or 'linode', ('apikey', ))
示例#17
0
文件: linode.py 项目: hulu/salt
def get_configured_provider():
    """
    Return the first configured instance.
    """
    return config.is_provider_configured(__opts__, __active_provider_name__ or "linode", ("apikey",))
示例#18
0
文件: gogrid.py 项目: rgarcia/salt
def get_configured_provider():
    """
    Return the first configured instance.
    """
    return config.is_provider_configured(__opts__, __active_provider_name__ or "gogrid", ("apikey", "sharedsecret"))
示例#19
0
文件: parallels.py 项目: hulu/salt
def get_configured_provider():
    """
    Return the first configured instance.
    """
    return config.is_provider_configured(__opts__, __active_provider_name__ or "parallels", ("user",))
示例#20
0
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__, __active_provider_name__ or 'digital_ocean', ('api_key', ))