code: def _system(self, *args, **kwargs):
          '''
          This basically calls grains items and picks out only
          necessary information in a certain structure.
  
          :param args:
          :param kwargs:
          :return:
          '''
          sysinfo = SysInfo(__grains__.get("kernel"))
  
          data = dict()
          data['cpu'] = sysinfo._get_cpu()
          data['disks'] = sysinfo._get_fs()
          data['mounts'] = sysinfo._get_mounts()
          data['memory'] = sysinfo._get_mem()
          data['network'] = sysinfo._get_network()
          data['os'] = sysinfo._get_os()
  
          return datf _system(self, *args, **kwargs):
          '''
          This basically calls grains items and picks out only
          necessary information in a certain structure.
  
          :param args:
          :param kwargs:
          :return:
          '''
          sysinfo = SysInfo(__grains__.get("kernel"))
  
          data = dict()
          data['cpu'] = sysinfo._get_cpu()
          data['disks'] = sysinfo._get_fs()
          data['mounts'] = sysinfo._get_mounts()
          data['memory'] = sysinfo._get_mem()
          data['network'] = sysinfo._get_network()
          data['os'] = sysinfo._get_os()
  
          return data
docs: This basically calls grains items and picks out only
          necessary information in a certain structure.
  
          :param args:
          :param kwargs:
          :return: