<reponame>halr9000/docker-splunk-cluster<filename>images/splunk/deployment/init_shc_deployer_client.py
import os

import init_helpers


def configurations():
    return {
        "components": {
            "kvstore": False,
            "web": False,
            "indexing": False,
            "dmc": False
        },
        # shc_deployer will be set only after first deploy, so do not depend on this role
        "dependencies": [
            (os.environ.get("INIT_SHCLUSTERING_SHCDEPLOYER", "https://shc-deployer:8089"), "")
        ]
    }


def substitution():
    return {
        "@SHCLUSTERING_SHCDEPLOYER@": os.environ.get("INIT_SHCLUSTERING_SHCDEPLOYER", "https://shc-deployer:8089")
    }


import os

import init_helpers


def configurations():
    return {
        "components": {
            "kvstore": False,
            "web": False,
            "indexing": False,
            "dmc": False
        },
        # shc_deployer will be set only after first deploy, so do not depend on this role
        "dependencies": [
            (os.environ.get("INIT_SHCLUSTERING_SHCDEPLOYER", "https://shc-deployer:8089"), "")
        ]
    }


def substitution():
    return {
        "@SHCLUSTERING_SHCDEPLOYER@": os.environ.get("INIT_SHCLUSTERING_SHCDEPLOYER", "https://shc-deployer:8089")
    }
# shc_deployer will be set only after first deploy, so do not depend on this role