code: def get_config(name='root'):
      '''
      Retrieves all values from a given configuration
  
      CLI example:
  
      .. code-block:: bash
  
        salt '*' snapper.get_config
      '''
      try:
          config = snapper.GetConfig(name)
          return config
      except dbus.DBusException as exc:
          raise CommandExecutionError(
              'Error encountered while retrieving configuration: {0}'
              .format(_dbus_exception_to_reason(exc, locals()))
          f get_config(name='root'):
      '''
      Retrieves all values from a given configuration
  
      CLI example:
  
      .. code-block:: bash
  
        salt '*' snapper.get_config
      '''
      try:
          config = snapper.GetConfig(name)
          return config
      except dbus.DBusException as exc:
          raise CommandExecutionError(
              'Error encountered while retrieving configuration: {0}'
              .format(_dbus_exception_to_reason(exc, locals()))
          )
docs: Retrieves all values from a given configuration
  
      CLI example:
  
      .. code-block:: bash
  
        salt '*' snapper.get_config