Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(44)  |  Call(44)  |  Derive(0)  |  Import(0)

src/s/a/sahara-2014.1/sahara/plugins/vanilla/v1_2_1/config_helper.py   sahara(Download)
}
 
ENABLE_SWIFT = p.Config('Enable Swift', 'general', 'cluster',
                        config_type="bool", priority=1,
                        default_value=True, is_optional=True)
 
ENABLE_DATA_LOCALITY = p.Config('Enable Data Locality', 'general', 'cluster',
                                default_value=True, is_optional=True)
 
ENABLE_MYSQL = p.Config('Enable MySQL', 'general', 'cluster',
                        config_type="bool", priority=1,
                        default_value=True, is_optional=True)
 
# Default set to 1 day, which is the default Keystone token
# expiration time. After the token is expired we can't continue
# scaling anyway.
DECOMISSIONING_TIMEOUT = p.Config('Decomissioning Timeout', 'general',
            for config in config_list:
                if config['name'] not in HIDDEN_CONFS:
                    cfg = p.Config(config['name'], service, "node",
                                   is_optional=True, config_type="string",
                                   default_value=str(config['value']),

src/s/a/sahara-HEAD/sahara/plugins/vanilla/v1_2_1/config_helper.py   sahara(Download)
}
 
ENABLE_SWIFT = p.Config('Enable Swift', 'general', 'cluster',
                        config_type="bool", priority=1,
                        default_value=True, is_optional=True)
 
ENABLE_DATA_LOCALITY = p.Config('Enable Data Locality', 'general', 'cluster',
                                default_value=True, is_optional=True)
 
ENABLE_MYSQL = p.Config('Enable MySQL', 'general', 'cluster',
                        config_type="bool", priority=1,
                        default_value=True, is_optional=True)
 
# Default set to 1 day, which is the default Keystone token
# expiration time. After the token is expired we can't continue
# scaling anyway.
DECOMISSIONING_TIMEOUT = p.Config('Decomissioning Timeout', 'general',
            for config in config_list:
                if config['name'] not in HIDDEN_CONFS:
                    cfg = p.Config(config['name'], service, "node",
                                   is_optional=True, config_type="string",
                                   default_value=str(config['value']),

src/s/a/sahara-2014.1/sahara/plugins/intel/v3_0_2/config_helper.py   sahara(Download)
}
 
IDH_TARBALL_URL = p.Config('IDH tarball URL', 'general', 'cluster', priority=1,
                           default_value='http://repo2.intelhadoop.com/'
                                         'setup/setup-intelhadoop-'
                                         '3.0.2-en-evaluation.RHEL.tar.gz')
 
OS_REPO_URL = p.Config('OS repository URL', 'general', 'cluster', priority=1,
                                     'centos-6/6/os/x86_64')
 
IDH_REPO_URL = p.Config('IDH repository URL', 'general', 'cluster',
                        priority=1, is_optional=True,
                        default_value='http://repo2.intelhadoop.com'
                                      '/evaluation/en/RHEL/3.0.2/rpm')
 
OOZIE_EXT22_URL = p.Config(
    'Ext 2.2 URL', 'general', 'cluster',
    default_value='http://extjs.com/deploy/ext-2.2.zip')
 
ENABLE_SWIFT = p.Config('Enable Swift', 'general', 'cluster',
                        config_type="bool", priority=1,
                        default_value=True, is_optional=True)

src/s/a/sahara-2014.1/sahara/plugins/intel/v2_5_1/config_helper.py   sahara(Download)
}
 
IDH_TARBALL_URL = p.Config('IDH tarball URL', 'general', 'cluster', priority=1,
                           default_value='http://repo2.intelhadoop.com/'
                                         'setup/setup-intelhadoop-'
                                         '2.5.1-en-evaluation.RHEL.tar.gz')
 
OS_REPO_URL = p.Config('OS repository URL', 'general', 'cluster', priority=1,
                                     'centos-6/6/os/x86_64')
 
IDH_REPO_URL = p.Config('IDH repository URL', 'general', 'cluster',
                        priority=1, is_optional=True,
                        default_value='http://repo2.intelhadoop.com'
                                      '/evaluation/en/RHEL/2.5.1/rpm')
 
OOZIE_EXT22_URL = p.Config(
    'Ext 2.2 URL', 'general', 'cluster',
    default_value='http://extjs.com/deploy/ext-2.2.zip')
 
ENABLE_SWIFT = p.Config('Enable Swift', 'general', 'cluster',
                        config_type="bool", priority=1,
                        default_value=True, is_optional=True)

src/s/a/sahara-2014.1/sahara/plugins/vanilla/v2_3_0/config_helper.py   sahara(Download)
}
 
ENABLE_SWIFT = p.Config('Enable Swift', 'general', 'cluster',
                        config_type="bool", priority=1,
                        default_value=True, is_optional=False)
 
ENABLE_MYSQL = p.Config('Enable MySQL', 'general', 'cluster',
                        default_value=True, is_optional=True)
 
ENABLE_DATA_LOCALITY = p.Config('Enable Data Locality', 'general', 'cluster',
                                config_type="bool", priority=1,
                                default_value=True, is_optional=True)
            for config in config_list:
                if config['name'] not in HIDDEN_CONFS:
                    cfg = p.Config(config['name'], service, "node",
                                   is_optional=True, config_type="string",
                                   default_value=str(config['value']),
def _init_env_configs():
    configs = []
    for service, config_items in ENV_CONFS.iteritems():
        for name, value in config_items.iteritems():
            configs.append(p.Config(name, service, "node",

src/s/a/sahara-HEAD/sahara/plugins/vanilla/v2_3_0/config_helper.py   sahara(Download)
}
 
ENABLE_SWIFT = p.Config('Enable Swift', 'general', 'cluster',
                        config_type="bool", priority=1,
                        default_value=True, is_optional=False)
 
ENABLE_MYSQL = p.Config('Enable MySQL', 'general', 'cluster',
                        default_value=True, is_optional=True)
 
ENABLE_DATA_LOCALITY = p.Config('Enable Data Locality', 'general', 'cluster',
                                config_type="bool", priority=1,
                                default_value=True, is_optional=True)
            for config in config_list:
                if config['name'] not in HIDDEN_CONFS:
                    cfg = p.Config(config['name'], service, "node",
                                   is_optional=True, config_type="string",
                                   default_value=str(config['value']),
def _init_env_configs():
    configs = []
    for service, config_items in ENV_CONFS.iteritems():
        for name, value in config_items.iteritems():
            configs.append(p.Config(name, service, "node",

src/s/a/sahara-2014.1/sahara/plugins/hdp/configprovider.py   sahara(Download)
    def _initialize(self, config):
        for configuration in self.config['configurations']:
            for service_property in configuration['properties']:
                config = p.Config(service_property['name'],
                                  self._get_target(

src/s/a/sahara-HEAD/sahara/plugins/hdp/configprovider.py   sahara(Download)
    def _initialize(self, config):
        for configuration in self.config['configurations']:
            for service_property in configuration['properties']:
                config = p.Config(service_property['name'],
                                  self._get_target(

src/s/a/sahara-2014.1/sahara/tests/unit/plugins/test_provisioning.py   sahara(Download)
def _build_configs_and_plugin():
    c1 = p.Config('n-1', 'at-1', 'cluster')
    c2 = p.Config('n-2', 'at-2', 'cluster')
    c3 = p.Config('n-3', 'at-1', 'node')
 

src/s/a/sahara-HEAD/sahara/tests/unit/plugins/test_provisioning.py   sahara(Download)
def _build_configs_and_plugin():
    c1 = p.Config('n-1', 'at-1', 'cluster')
    c2 = p.Config('n-2', 'at-2', 'cluster')
    c3 = p.Config('n-3', 'at-1', 'node')