CCP fetch yaml default intialization fix

default fetch config moved into appropriate include file

Change-Id: Icc00d17ca99f1c14cd3fcc21b0bb655a9a5afcfa
This commit is contained in:
ydehtiarov 2016-10-12 16:18:19 +03:00
parent 4429dbcc1a
commit b3d4103688
2 changed files with 9 additions and 3 deletions

View File

@ -79,6 +79,9 @@ def ccpcluster(revert_snapshot, config, hardware,
ccp_actions.put_yaml_config(
path=settings.CCP_SOURCES_CONFIG,
config=settings.CCP_BUILD_SOURCES)
ccp_actions.put_yaml_config(
path=settings.CCP_FETCH_CONFIG,
config=settings.CCP_FETCH_PARAMS)
with open(settings.TOPOLOGY_PATH, 'r') as f:
ccp_actions.put_raw_config(

View File

@ -166,9 +166,6 @@ CCP_CONF = {
'registry': {
'address': REGISTRY
},
'repositories': {
'skip_empty': True
},
'kubernetes': {
'namespace': 'ccp'
},
@ -182,6 +179,12 @@ CCP_SOURCES_CONFIG = '~/.ccp.build-sources.yaml'
CCP_FETCH_CONFIG = '~/.ccp.fetch.yaml'
CCP_FETCH_PARAMS = {
'repositories': {
'skip_empty': True
}
}
CCP_BUILD_SOURCES = {
'sources': OS_REPOS
}