def set_buildoverrides_facts(facts):
 if ('buildoverrides' in facts):
  buildoverrides = facts['buildoverrides']
  if ('config' in buildoverrides):
   if ('admission_plugin_config' not in facts['master']):
    facts['master']['admission_plugin_config'] = dict()
   facts['master']['admission_plugin_config'].update(buildoverrides['config'])
 return facts

def set_buildoverrides_facts ( facts ) : if ( 'buildoverrides' in facts ) : buildoverrides = facts [ 'buildoverrides' ] if ( 'config' in buildoverrides ) : if ( 'admission_plugin_config' not in facts [ 'master' ] ) : facts [ 'master' ] [ 'admission_plugin_config' ] = dict ( ) facts [ 'master' ] [ 'admission_plugin_config' ] . update ( buildoverrides [ 'config' ] ) return facts
set build overrides args: facts: existing facts returns: facts: updated facts with missing values .