code: def envs(self):
          '''
          Return the available environments
          '''
          ret = []
          for saltenv in self.opts['pillar_roots']:
              ret.append(saltenv)
          return ref envs(self):
          '''
          Return the available environments
          '''
          ret = []
          for saltenv in self.opts['pillar_roots']:
              ret.append(saltenv)
          return ret
docs: Return the available environments