code: def __execute_cmd(command):
      '''
      Execute rac commands
      '''
      cmd = __salt__['cmd.run_all']('racadm {0}'.format(command))
  
      if cmd['retcode'] != 0:
          log.warning('racadm return an exit code \'%s\'.', cmd['retcode'])
          return False
  
      return Truf __execute_cmd(command):
      '''
      Execute rac commands
      '''
      cmd = __salt__['cmd.run_all']('racadm {0}'.format(command))
  
      if cmd['retcode'] != 0:
          log.warning('racadm return an exit code \'%s\'.', cmd['retcode'])
          return False
  
      return True
docs: Execute rac commands