code: def show_conf(conf_file=default_conf, name=None):
      '''
      Show configuration
  
      conf_file : string
          path to logadm.conf, defaults to /etc/logadm.conf
      name : string
          optional show only a single entry
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' logadm.show_conf
          salt '*' logadm.show_conf name=/var/log/syslog
      '''
      cfg = _parse_conf(conf_file)
  
      # filter
      if name and name in cfg:
          return {name: cfg[name]}
      elif name:
          return {name: 'not found in {}'.format(conf_file)}
      else:
          return cff show_conf(conf_file=default_conf, name=None):
      '''
      Show configuration
  
      conf_file : string
          path to logadm.conf, defaults to /etc/logadm.conf
      name : string
          optional show only a single entry
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' logadm.show_conf
          salt '*' logadm.show_conf name=/var/log/syslog
      '''
      cfg = _parse_conf(conf_file)
  
      # filter
      if name and name in cfg:
          return {name: cfg[name]}
      elif name:
          return {name: 'not found in {}'.format(conf_file)}
      else:
          return cfg
docs: Show configuration
  
      conf_file : string
          path to logadm.conf, defaults to /etc/logadm.conf
      name : string
          optional show only a single entry
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' logadm.show_conf
          salt '*' logadm.show_conf name=/var/log/syslog