import pkg_resources

import yaml

entry = {
    'must': {
        'resolvers': '["168.63.129.16"]',
        'ip_detect_contents': yaml.dump(pkg_resources.resource_string('gen', 'ip-detect/aws.sh').decode()),
        'master_discovery': 'static',
        'exhibitor_storage_backend': 'azure',
        'master_cloud_config': '{{ master_cloud_config }}',
        'slave_cloud_config': '{{ slave_cloud_config }}',
        'slave_public_cloud_config': '{{ slave_public_cloud_config }}',
        'oauth_enabled': "[[[variables('oauthEnabled')]]]",
        'oauth_available': 'true'
    }
}

import pkg_resources

import yaml

entry = {
    'must': {
        'resolvers': '["168.63.129.16"]',
        'ip_detect_contents': yaml.dump(pkg_resources.resource_string('gen', 'ip-detect/azure.sh').decode()),
        'master_discovery': 'static',
        'exhibitor_storage_backend': 'azure',
        'master_cloud_config': '{{ master_cloud_config }}',
        'slave_cloud_config': '{{ slave_cloud_config }}',
        'slave_public_cloud_config': '{{ slave_public_cloud_config }}',
        'oauth_enabled': "[[[variables('oauthEnabled')]]]",
        'oauth_available': 'true'
    }
}

Fix Azure to use it's ip-detect script rather than AWS'
Fix Azure to use it's ip-detect script rather than AWS'
