Verify AWS configs correctly

This commit is contained in:
Thomas S Hatch 2012-08-03 23:50:44 -06:00
parent 15ce1ee755
commit fc60466783

View File

@ -51,14 +51,14 @@ list_nodes = types.FunctionType(list_nodes.__code__, globals())
# Only load in this module if the AWS configurations are in place
def __virtual__():
'''
Set up the libcloud funcstions and check for RACKSPACE configs
Set up the libcloud funcstions and check for AWS configs
'''
confs = [
'AWS.id',
'AWSAWS.key',
'AWSAWS.keyname',
'AWSAWS.securitygroup',
'AWSAWS.private_key',
'AWS.key',
'AWS.keyname',
'AWS.securitygroup',
'AWS.private_key',
]
for conf in confs:
if conf not in __opts__: