code: def _get_archive_name(self, archname=None):
          '''
          Create default archive name.
  
          :return:
          '''
          archname = re.sub('[^a-z0-9]', '', (archname or '').lower()) or 'support'
          for grain in ['fqdn', 'host', 'localhost', 'nodename']:
              host = __grains__.get(grain)
              if host:
                  break
          if not host:
              host = 'localhost'
  
          return os.path.join(tempfile.gettempdir(),
                              '{hostname}-{archname}-{date}-{time}.bz2'.format(archname=archname,
                                                                               hostname=host,
                                                                               date=time.strftime('%Y%m%d'),
                                                                               time=time.strftime('%H%M%S'))f _get_archive_name(self, archname=None):
          '''
          Create default archive name.
  
          :return:
          '''
          archname = re.sub('[^a-z0-9]', '', (archname or '').lower()) or 'support'
          for grain in ['fqdn', 'host', 'localhost', 'nodename']:
              host = __grains__.get(grain)
              if host:
                  break
          if not host:
              host = 'localhost'
  
          return os.path.join(tempfile.gettempdir(),
                              '{hostname}-{archname}-{date}-{time}.bz2'.format(archname=archname,
                                                                               hostname=host,
                                                                               date=time.strftime('%Y%m%d'),
                                                                               time=time.strftime('%H%M%S')))
docs: Create default archive name.
  
          :return: