def create_managed_config(base_config, cluster):
 config = dict(base_config)
 config.update(generate_managed_section(cluster))
 return config

def create_managed_config ( base_config , cluster ) : config = dict ( base_config ) config . update ( generate_managed_section ( cluster ) ) return config
generate a full configuration from the given base configuration by adding a managed section for the given cluster instance .