code: def _grains(host, user, password):
      '''
      Get the grains from the proxied device
      '''
      r = __salt__['dracr.system_info'](host=host,
                                        admin_username=user,
                                        admin_password=password)
      if r.get('retcode', 0) == 0:
          GRAINS_CACHE = r
      else:
          GRAINS_CACHE = {}
      return GRAINS_CACHf _grains(host, user, password):
      '''
      Get the grains from the proxied device
      '''
      r = __salt__['dracr.system_info'](host=host,
                                        admin_username=user,
                                        admin_password=password)
      if r.get('retcode', 0) == 0:
          GRAINS_CACHE = r
      else:
          GRAINS_CACHE = {}
      return GRAINS_CACHE
docs: Get the grains from the proxied device