def config_absent(name):
 name = name.lower()
 ret = {'name': name, 'changes': {}, 'result': None, 'comment': ''}
 config = _load_config()
 if (name in config):
  ret['result'] = True
  ret['comment'] = 'property {0} deleted'.format(name)
  ret['changes'][name] = None
  del config[name]
 else:
  ret['result'] = True
  ret['comment'] = 'property {0} is absent'.format(name)
 if ((not __opts__['test']) and (len(ret['changes']) > 0)):
  ret['result'] = _write_config(config)
 return ret

def config_absent ( name ) : name = name . lower ( ) ret = { 'name' : name , 'changes' : { } , 'result' : None , 'comment' : '' } config = _load_config ( ) if ( name in config ) : ret [ 'result' ] = True ret [ 'comment' ] = 'property {0} deleted' . format ( name ) ret [ 'changes' ] [ name ] = None del config [ name ] else : ret [ 'result' ] = True ret [ 'comment' ] = 'property {0} is absent' . format ( name ) if ( ( not __opts__ [ 'test' ] ) and ( len ( ret [ 'changes' ] ) > 0 ) ) : ret [ 'result' ] = _write_config ( config ) return ret
ensure a specific configuration line does not exist in the running config name config line to remove examples: .