(context)
return {'resources': resources}
Generate final configuration.
Generate final configuration.
Generate final configuration .
def GenerateConfig(context):
  """Generate final configuration."""

  resources = []
  for replica in range(0, context.properties['minionCount']):
    resources.append(GenerateInstanceConfig(context, replica))
  return {'resources': resources}
def GenerateConfig ( context ) : resources = [ ] for replica in range ( 0 , context . properties [ 'minionCount' ] ) : resources . append ( GenerateInstanceConfig ( context , replica ) ) return { 'resources' : resources }