@@ -0,0 +1,1030 @@
+'''%0AManage configuration files in salt-cloud%0A'''%0A%0A# Import python libs%0Aimport os%0A%0A# Import salt libs%0Aimport salt.config%0A%0A%0Adef cloud_config(path):%0A    '''%0A    Read in the salt cloud config and return the dict%0A    '''%0A    opts = %7B# Provider defaults%0A            'provider': '',%0A            'location': '',%0A            # User/Passwords/keys%0A            'RACKSPACE_key': '',%0A            'RACKSPACE_user': '',%0A            'LINODE_apikey': '',%0A            'EC2_key': '',%0A            'EC2_user': '',%0A            # Global defaults%0A            'ssh_auth': '',%0A            'keysize': 4096,%0A            'os': '',%0A            %7D%0A%0A    salt.config.load_config(opts, path, 'SALT_CLOUD_CONFIG')%0A%0A    if 'include' in opts:%0A        opts = include_config(opts, path)%0A%0A    return opts%0A%0Adef vm_config(path):%0A    '''%0A    Read in the salt cloud vm config file%0A    '''%0A    # No defaults%0A    opts = %7B%7D%0A    %0A    salt.config.load_config(opts, path, 'SALT_CLOUDVM_CONFIG')%0A%0A    if 'include' in opts:%0A        opts = include_config(opts, path)%0A%0A    return opts%0A

Add config.py