예제 #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
파일: saltify.py 프로젝트: yanghao-zh/salt
def get_configured_provider():
    '''
    Return the first configured instance.
    '''
    return config.is_provider_configured(
        __opts__,
        __active_provider_name__ or 'saltify',
        ()
    )
예제 #11
0
파일: digital_ocean.py 프로젝트: hulu/salt
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', ))