We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
lscpu datasource missing for sos reports
If we add a new spec, let's check if it exists in sos report and include a spec for it if it does. lscpu is in `sos_commands/processor/lscpu`.

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `insights/specs/sos_archive.py`
Content:
```
1 from functools import partial
2 from insights.specs import Specs
3 from insights.core.context import SosArchiveContext
4 from insights.core.spec_factory import simple_file, first_of, first_file, glob_file
5 
6 first_file = partial(first_file, context=SosArchiveContext)
7 glob_file = partial(glob_file, context=SosArchiveContext)
8 simple_file = partial(simple_file, context=SosArchiveContext)
9 
10 
11 class SosSpecs(Specs):
12     auditctl_status = simple_file("sos_commands/auditd/auditctl_-s")
13     blkid = simple_file("sos_commands/block/blkid_-c_.dev.null")
14     candlepin_log = first_of([
15         simple_file("/var/log/candlepin/candlepin.log"),
16         simple_file("sos_commands/foreman/foreman-debug/var/log/candlepin/candlepin.log")
17     ])
18     candlepin_error_log = first_of([
19         simple_file("var/log/candlepin/error.log"),
20         simple_file(r"sos_commands/foreman/foreman-debug/var/log/candlepin/error.log")
21     ])
22     catalina_out = glob_file("var/log/tomcat*/catalina.out")
23     catalina_server_log = glob_file("var/log/tomcat*/catalina*.log")
24     ceph_osd_tree_text = simple_file("sos_commands/ceph/ceph_osd_tree")
25     ceph_report = simple_file("sos_commands/ceph/ceph_report")
26     ceph_health_detail = simple_file("sos_commands/ceph/ceph_health_detail_--format_json-pretty")
27     chkconfig = first_file(["sos_commands/startup/chkconfig_--list", "sos_commands/services/chkconfig_--list"])
28     date = first_of([simple_file("sos_commands/general/date"), simple_file("sos_commands/date/date")])
29     df__al = first_file(["sos_commands/filesys/df_-al", "sos_commands/filesys/df_-al_-x_autofs"])
30     display_java = simple_file("sos_commands/java/alternatives_--display_java")
31     docker_info = simple_file("sos_commands/docker/docker_info")
32     docker_list_containers = first_file(["sos_commands/docker/docker_ps_-a", "sos_commands/docker/docker_ps"])
33     dmesg = first_file(["sos_commands/kernel/dmesg", "var/log/dmesg"])
34     dmidecode = simple_file("sos_commands/hardware/dmidecode")
35     dmsetup_info = simple_file("sos_commands/devicemapper/dmsetup_info_-c")
36     dumpe2fs_h = glob_file("sos_commands/filesys/dumpe2fs_-h_*")
37     ethtool = glob_file("sos_commands/networking/ethtool_*", ignore="ethtool_-.*")
38     ethtool_S = glob_file("sos_commands/networking/ethtool_-S_*")
39     ethtool_T = glob_file("sos_commands/networking/ethtool_-T_*")
40     ethtool_a = glob_file("sos_commands/networking/ethtool_-a_*")
41     ethtool_c = glob_file("sos_commands/networking/ethtool_-c_*")
42     ethtool_g = glob_file("sos_commands/networking/ethtool_-g_*")
43     ethtool_i = glob_file("sos_commands/networking/ethtool_-i_*")
44     ethtool_k = glob_file("sos_commands/networking/ethtool_-k_*")
45     fdisk_l_sos = first_of([glob_file(r"sos_commands/filesys/fdisk_-l_*"), glob_file(r"sos_commands/block/fdisk_-l_*")])
46     foreman_production_log = first_of([simple_file("/var/log/foreman/production.log"), simple_file("sos_commands/foreman/foreman-debug/var/log/foreman/production.log")])
47     foreman_proxy_conf = first_of([simple_file("/etc/foreman-proxy/settings.yml"), simple_file("sos_commands/foreman/foreman-debug/etc/foreman-proxy/settings.yml")])
48     foreman_proxy_log = first_of([simple_file("/var/log/foreman-proxy/proxy.log"), simple_file("sos_commands/foreman/foreman-debug/var/log/foreman-proxy/proxy.log")])
49     foreman_satellite_log = first_of([simple_file("/var/log/foreman-installer/satellite.log"), simple_file("sos_commands/foreman/foreman-debug/var/log/foreman-installer/satellite.log")])
50     foreman_ssl_access_ssl_log = first_file(["var/log/httpd/foreman-ssl_access_ssl.log", r"sos_commands/foreman/foreman-debug/var/log/httpd/foreman-ssl_access_ssl.log"])
51     getcert_list = first_file(["sos_commands/ipa/ipa-getcert_list", "sos_commands/ipa/getcert_list"])
52     gluster_v_info = simple_file("sos_commands/gluster/gluster_volume_info")
53     gluster_v_status = simple_file("sos_commands/gluster/gluster_volume_status")
54     hostname = first_file(["sos_commands/general/hostname_-f", "sos_commands/general/hostname", "sos_commands/host/hostname_-f", "sos_commands/host/hostname", "/etc/hostname", "hostname"])
55     installed_rpms = simple_file("installed-rpms")
56     ip_addr = first_of([simple_file("sos_commands/networking/ip_-d_address"), simple_file("sos_commands/networking/ip_address")])
57     ip_route_show_table_all = simple_file("sos_commands/networking/ip_route_show_table_all")
58     ip_s_link = first_of([simple_file("sos_commands/networking/ip_-s_-d_link"), simple_file("sos_commands/networking/ip_-s_link"), simple_file("sos_commands/networking/ip_link")])
59     iptables = first_file(["/etc/sysconfig/iptables", "/etc/sysconfig/iptables.save"])
60     journal_since_boot = first_of([simple_file("sos_commands/logs/journalctl_--no-pager_--boot"), simple_file("sos_commands/logs/journalctl_--no-pager_--catalog_--boot")])
61     locale = simple_file("sos_commands/i18n/locale")
62     lsblk = simple_file("sos_commands/block/lsblk")
63     lsinitrd = simple_file("sos_commands/boot/lsinitrd")
64     lsof = simple_file("sos_commands/process/lsof_-b_M_-n_-l")
65     lsmod = simple_file("sos_commands/kernel/lsmod")
66     lspci = first_of([
67         simple_file("sos_commands/pci/lspci_-nnvv"),
68         simple_file("sos_commands/pci/lspci"),
69         simple_file("sos_commands/pci/lspci_-nvv")
70     ])
71     lsscsi = simple_file("sos_commands/scsi/lsscsi")
72     ls_dev = first_file(["sos_commands/block/ls_-lanR_.dev", "sos_commands/devicemapper/ls_-lanR_.dev"])
73     lvs = first_file(["sos_commands/lvm2/lvs_-a_-o_lv_tags_devices_--config_global_locking_type_0", "sos_commands/lvm2/lvs_-a_-o_devices"])
74     mount = simple_file("sos_commands/filesys/mount_-l")
75     multipath__v4__ll = first_file(["sos_commands/multipath/multipath_-v4_-ll", "sos_commands/devicemapper/multipath_-v4_-ll"])
76     netstat = first_file(["sos_commands/networking/netstat_-neopa", "sos_commands/networking/netstat_-W_-neopa", "sos_commands/networking/netstat_-T_-neopa"])
77     netstat_agn = first_of([simple_file("sos_commands/networking/netstat_-agn"), simple_file("sos_commands/networking/netstat_-W_-agn"), simple_file("sos_commands/networking/netstat_-T_-agn")])
78     netstat_s = simple_file("sos_commands/networking/netstat_-s")
79     nmcli_dev_show = simple_file("sos_commands/networking/nmcli_device_show")
80     nmcli_dev_show_sos = glob_file(["sos_commands/networking/nmcli_dev_show_*", "sos_commands/networkmanager/nmcli_dev_show_*"])
81     ntptime = simple_file("sos_commands/ntp/ntptime")
82     pcs_config = simple_file("sos_commands/pacemaker/pcs_config")
83     pcs_status = simple_file("sos_commands/pacemaker/pcs_status")
84     ps_alxwww = simple_file("sos_commands/process/ps_alxwww")
85     ps_aux = first_file(["sos_commands/process/ps_aux", "sos_commands/process/ps_auxwww", "sos_commands/process/ps_auxcww"])
86     ps_auxcww = first_file(["sos_commands/process/ps_auxcww", "sos_commands/process/ps_auxwww", "sos_commands/process/ps_aux"])
87     ps_auxww = first_file(["sos_commands/process/ps_auxww", "sos_commands/process/ps_auxwww", "sos_commands/process/ps_aux", "sos_commands/process/ps_auxcww"])
88     puppet_ssl_cert_ca_pem = simple_file("sos_commands/foreman/foreman-debug/var/lib/puppet/ssl/certs/ca.pem")
89     pvs = first_file(["sos_commands/lvm2/pvs_-a_-v_-o_pv_mda_free_pv_mda_size_pv_mda_count_pv_mda_used_count_pe_start_--config_global_locking_type_0", "sos_commands/lvm2/pvs_-a_-v"])
90     qpid_stat_q = first_of([
91         simple_file("qpid_stat_queues"),
92         simple_file("qpid-stat-q"),
93         simple_file("sos_commands/foreman/foreman-debug/qpid_stat_queues"),
94         simple_file("sos_commands/foreman/foreman-debug/qpid-stat-q")
95     ])
96     qpid_stat_u = first_of([
97         simple_file("qpid_stat_subscriptions"),
98         simple_file("qpid-stat-u"),
99         simple_file("sos_commands/foreman/foreman-debug/qpid_stat_subscriptions"),
100         simple_file("sos_commands/foreman/foreman-debug/qpid-stat-u")
101     ])
102     rabbitmq_report = simple_file("sos_commands/rabbitmq/rabbitmqctl_report")
103     rabbitmq_report_of_containers = glob_file("sos_commands/rabbitmq/docker_exec_-t_rabbitmq-bundle-docker-*_rabbitmqctl_report")
104     rhn_charsets = first_file(["sos_commands/satellite/rhn-charsets", "sos_commands/rhn/rhn-charsets"])
105     root_crontab = first_file(["sos_commands/crontab/root_crontab", "sos_commands/cron/root_crontab"])
106     route = simple_file("sos_commands/networking/route_-n")
107     sestatus = simple_file("sos_commands/selinux/sestatus_-b")
108     subscription_manager_list_consumed = first_file([
109         'sos_commands/yum/subscription-manager_list_--consumed',
110         'sos_commands/subscription_manager/subscription-manager_list_--consumed',
111         'sos_commands/general/subscription-manager_list_--consumed']
112     )
113     subscription_manager_list_installed = first_file([
114         'sos_commands/yum/subscription-manager_list_--installed',
115         'sos_commands/subscription_manager/subscription-manager_list_--installed',
116         'sos_commands/general/subscription-manager_list_--installed']
117     )
118     sysctl = simple_file("sos_commands/kernel/sysctl_-a")
119     systemctl_list_unit_files = simple_file("sos_commands/systemd/systemctl_list-unit-files")
120     systemctl_list_units = first_file(["sos_commands/systemd/systemctl_list-units", "sos_commands/systemd/systemctl_list-units_--all"])
121     teamdctl_config_dump = glob_file("sos_commands/teamd/teamdctl_*_config_dump")
122     teamdctl_state_dump = glob_file("sos_commands/teamd/teamdctl_*_state_dump")
123     uname = simple_file("sos_commands/kernel/uname_-a")
124     uptime = first_of([simple_file("sos_commands/general/uptime"), simple_file("sos_commands/host/uptime")])
125     var_qemu_xml = glob_file(r"var/run/libvirt/qemu/*.xml")
126     vdsm_import_log = glob_file("var/log/vdsm/import/import-*.log")
127     vgdisplay = first_file(["sos_commands/lvm2/vgdisplay_-vv_--config_global_locking_type_0", "sos_commands/lvm2/vgdisplay_-vv"])
128     vgs = first_file(["sos_commands/lvm2/vgs_-v_-o_vg_mda_count_vg_mda_free_vg_mda_size_vg_mda_used_count_vg_tags_--config_global_locking_type_0", "sos_commands/lvm2/vgs_-v"])
129     xfs_info = glob_file("sos_commands/xfs/xfs_info*")
130     yum_repolist = simple_file("sos_commands/yum/yum_-C_repolist")
131
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/insights/specs/sos_archive.py b/insights/specs/sos_archive.py
--- a/insights/specs/sos_archive.py
+++ b/insights/specs/sos_archive.py
@@ -60,6 +60,7 @@
     journal_since_boot = first_of([simple_file("sos_commands/logs/journalctl_--no-pager_--boot"), simple_file("sos_commands/logs/journalctl_--no-pager_--catalog_--boot")])
     locale = simple_file("sos_commands/i18n/locale")
     lsblk = simple_file("sos_commands/block/lsblk")
+    lscpu = simple_file("sos_commands/processor/lscpu")
     lsinitrd = simple_file("sos_commands/boot/lsinitrd")
     lsof = simple_file("sos_commands/process/lsof_-b_M_-n_-l")
     lsmod = simple_file("sos_commands/kernel/lsmod")

{"golden_diff": "diff --git a/insights/specs/sos_archive.py b/insights/specs/sos_archive.py\n--- a/insights/specs/sos_archive.py\n+++ b/insights/specs/sos_archive.py\n@@ -60,6 +60,7 @@\n     journal_since_boot = first_of([simple_file(\"sos_commands/logs/journalctl_--no-pager_--boot\"), simple_file(\"sos_commands/logs/journalctl_--no-pager_--catalog_--boot\")])\n     locale = simple_file(\"sos_commands/i18n/locale\")\n     lsblk = simple_file(\"sos_commands/block/lsblk\")\n+    lscpu = simple_file(\"sos_commands/processor/lscpu\")\n     lsinitrd = simple_file(\"sos_commands/boot/lsinitrd\")\n     lsof = simple_file(\"sos_commands/process/lsof_-b_M_-n_-l\")\n     lsmod = simple_file(\"sos_commands/kernel/lsmod\")\n", "issue": "lscpu datasource missing for sos reports\nIf we add a new spec, let's check if it exists in sos report and include a spec for it if it does. lscpu is in `sos_commands/processor/lscpu`.\n", "before_files": [{"content": "from functools import partial\nfrom insights.specs import Specs\nfrom insights.core.context import SosArchiveContext\nfrom insights.core.spec_factory import simple_file, first_of, first_file, glob_file\n\nfirst_file = partial(first_file, context=SosArchiveContext)\nglob_file = partial(glob_file, context=SosArchiveContext)\nsimple_file = partial(simple_file, context=SosArchiveContext)\n\n\nclass SosSpecs(Specs):\n    auditctl_status = simple_file(\"sos_commands/auditd/auditctl_-s\")\n    blkid = simple_file(\"sos_commands/block/blkid_-c_.dev.null\")\n    candlepin_log = first_of([\n        simple_file(\"/var/log/candlepin/candlepin.log\"),\n        simple_file(\"sos_commands/foreman/foreman-debug/var/log/candlepin/candlepin.log\")\n    ])\n    candlepin_error_log = first_of([\n        simple_file(\"var/log/candlepin/error.log\"),\n        simple_file(r\"sos_commands/foreman/foreman-debug/var/log/candlepin/error.log\")\n    ])\n    catalina_out = glob_file(\"var/log/tomcat*/catalina.out\")\n    catalina_server_log = glob_file(\"var/log/tomcat*/catalina*.log\")\n    ceph_osd_tree_text = simple_file(\"sos_commands/ceph/ceph_osd_tree\")\n    ceph_report = simple_file(\"sos_commands/ceph/ceph_report\")\n    ceph_health_detail = simple_file(\"sos_commands/ceph/ceph_health_detail_--format_json-pretty\")\n    chkconfig = first_file([\"sos_commands/startup/chkconfig_--list\", \"sos_commands/services/chkconfig_--list\"])\n    date = first_of([simple_file(\"sos_commands/general/date\"), simple_file(\"sos_commands/date/date\")])\n    df__al = first_file([\"sos_commands/filesys/df_-al\", \"sos_commands/filesys/df_-al_-x_autofs\"])\n    display_java = simple_file(\"sos_commands/java/alternatives_--display_java\")\n    docker_info = simple_file(\"sos_commands/docker/docker_info\")\n    docker_list_containers = first_file([\"sos_commands/docker/docker_ps_-a\", \"sos_commands/docker/docker_ps\"])\n    dmesg = first_file([\"sos_commands/kernel/dmesg\", \"var/log/dmesg\"])\n    dmidecode = simple_file(\"sos_commands/hardware/dmidecode\")\n    dmsetup_info = simple_file(\"sos_commands/devicemapper/dmsetup_info_-c\")\n    dumpe2fs_h = glob_file(\"sos_commands/filesys/dumpe2fs_-h_*\")\n    ethtool = glob_file(\"sos_commands/networking/ethtool_*\", ignore=\"ethtool_-.*\")\n    ethtool_S = glob_file(\"sos_commands/networking/ethtool_-S_*\")\n    ethtool_T = glob_file(\"sos_commands/networking/ethtool_-T_*\")\n    ethtool_a = glob_file(\"sos_commands/networking/ethtool_-a_*\")\n    ethtool_c = glob_file(\"sos_commands/networking/ethtool_-c_*\")\n    ethtool_g = glob_file(\"sos_commands/networking/ethtool_-g_*\")\n    ethtool_i = glob_file(\"sos_commands/networking/ethtool_-i_*\")\n    ethtool_k = glob_file(\"sos_commands/networking/ethtool_-k_*\")\n    fdisk_l_sos = first_of([glob_file(r\"sos_commands/filesys/fdisk_-l_*\"), glob_file(r\"sos_commands/block/fdisk_-l_*\")])\n    foreman_production_log = first_of([simple_file(\"/var/log/foreman/production.log\"), simple_file(\"sos_commands/foreman/foreman-debug/var/log/foreman/production.log\")])\n    foreman_proxy_conf = first_of([simple_file(\"/etc/foreman-proxy/settings.yml\"), simple_file(\"sos_commands/foreman/foreman-debug/etc/foreman-proxy/settings.yml\")])\n    foreman_proxy_log = first_of([simple_file(\"/var/log/foreman-proxy/proxy.log\"), simple_file(\"sos_commands/foreman/foreman-debug/var/log/foreman-proxy/proxy.log\")])\n    foreman_satellite_log = first_of([simple_file(\"/var/log/foreman-installer/satellite.log\"), simple_file(\"sos_commands/foreman/foreman-debug/var/log/foreman-installer/satellite.log\")])\n    foreman_ssl_access_ssl_log = first_file([\"var/log/httpd/foreman-ssl_access_ssl.log\", r\"sos_commands/foreman/foreman-debug/var/log/httpd/foreman-ssl_access_ssl.log\"])\n    getcert_list = first_file([\"sos_commands/ipa/ipa-getcert_list\", \"sos_commands/ipa/getcert_list\"])\n    gluster_v_info = simple_file(\"sos_commands/gluster/gluster_volume_info\")\n    gluster_v_status = simple_file(\"sos_commands/gluster/gluster_volume_status\")\n    hostname = first_file([\"sos_commands/general/hostname_-f\", \"sos_commands/general/hostname\", \"sos_commands/host/hostname_-f\", \"sos_commands/host/hostname\", \"/etc/hostname\", \"hostname\"])\n    installed_rpms = simple_file(\"installed-rpms\")\n    ip_addr = first_of([simple_file(\"sos_commands/networking/ip_-d_address\"), simple_file(\"sos_commands/networking/ip_address\")])\n    ip_route_show_table_all = simple_file(\"sos_commands/networking/ip_route_show_table_all\")\n    ip_s_link = first_of([simple_file(\"sos_commands/networking/ip_-s_-d_link\"), simple_file(\"sos_commands/networking/ip_-s_link\"), simple_file(\"sos_commands/networking/ip_link\")])\n    iptables = first_file([\"/etc/sysconfig/iptables\", \"/etc/sysconfig/iptables.save\"])\n    journal_since_boot = first_of([simple_file(\"sos_commands/logs/journalctl_--no-pager_--boot\"), simple_file(\"sos_commands/logs/journalctl_--no-pager_--catalog_--boot\")])\n    locale = simple_file(\"sos_commands/i18n/locale\")\n    lsblk = simple_file(\"sos_commands/block/lsblk\")\n    lsinitrd = simple_file(\"sos_commands/boot/lsinitrd\")\n    lsof = simple_file(\"sos_commands/process/lsof_-b_M_-n_-l\")\n    lsmod = simple_file(\"sos_commands/kernel/lsmod\")\n    lspci = first_of([\n        simple_file(\"sos_commands/pci/lspci_-nnvv\"),\n        simple_file(\"sos_commands/pci/lspci\"),\n        simple_file(\"sos_commands/pci/lspci_-nvv\")\n    ])\n    lsscsi = simple_file(\"sos_commands/scsi/lsscsi\")\n    ls_dev = first_file([\"sos_commands/block/ls_-lanR_.dev\", \"sos_commands/devicemapper/ls_-lanR_.dev\"])\n    lvs = first_file([\"sos_commands/lvm2/lvs_-a_-o_lv_tags_devices_--config_global_locking_type_0\", \"sos_commands/lvm2/lvs_-a_-o_devices\"])\n    mount = simple_file(\"sos_commands/filesys/mount_-l\")\n    multipath__v4__ll = first_file([\"sos_commands/multipath/multipath_-v4_-ll\", \"sos_commands/devicemapper/multipath_-v4_-ll\"])\n    netstat = first_file([\"sos_commands/networking/netstat_-neopa\", \"sos_commands/networking/netstat_-W_-neopa\", \"sos_commands/networking/netstat_-T_-neopa\"])\n    netstat_agn = first_of([simple_file(\"sos_commands/networking/netstat_-agn\"), simple_file(\"sos_commands/networking/netstat_-W_-agn\"), simple_file(\"sos_commands/networking/netstat_-T_-agn\")])\n    netstat_s = simple_file(\"sos_commands/networking/netstat_-s\")\n    nmcli_dev_show = simple_file(\"sos_commands/networking/nmcli_device_show\")\n    nmcli_dev_show_sos = glob_file([\"sos_commands/networking/nmcli_dev_show_*\", \"sos_commands/networkmanager/nmcli_dev_show_*\"])\n    ntptime = simple_file(\"sos_commands/ntp/ntptime\")\n    pcs_config = simple_file(\"sos_commands/pacemaker/pcs_config\")\n    pcs_status = simple_file(\"sos_commands/pacemaker/pcs_status\")\n    ps_alxwww = simple_file(\"sos_commands/process/ps_alxwww\")\n    ps_aux = first_file([\"sos_commands/process/ps_aux\", \"sos_commands/process/ps_auxwww\", \"sos_commands/process/ps_auxcww\"])\n    ps_auxcww = first_file([\"sos_commands/process/ps_auxcww\", \"sos_commands/process/ps_auxwww\", \"sos_commands/process/ps_aux\"])\n    ps_auxww = first_file([\"sos_commands/process/ps_auxww\", \"sos_commands/process/ps_auxwww\", \"sos_commands/process/ps_aux\", \"sos_commands/process/ps_auxcww\"])\n    puppet_ssl_cert_ca_pem = simple_file(\"sos_commands/foreman/foreman-debug/var/lib/puppet/ssl/certs/ca.pem\")\n    pvs = first_file([\"sos_commands/lvm2/pvs_-a_-v_-o_pv_mda_free_pv_mda_size_pv_mda_count_pv_mda_used_count_pe_start_--config_global_locking_type_0\", \"sos_commands/lvm2/pvs_-a_-v\"])\n    qpid_stat_q = first_of([\n        simple_file(\"qpid_stat_queues\"),\n        simple_file(\"qpid-stat-q\"),\n        simple_file(\"sos_commands/foreman/foreman-debug/qpid_stat_queues\"),\n        simple_file(\"sos_commands/foreman/foreman-debug/qpid-stat-q\")\n    ])\n    qpid_stat_u = first_of([\n        simple_file(\"qpid_stat_subscriptions\"),\n        simple_file(\"qpid-stat-u\"),\n        simple_file(\"sos_commands/foreman/foreman-debug/qpid_stat_subscriptions\"),\n        simple_file(\"sos_commands/foreman/foreman-debug/qpid-stat-u\")\n    ])\n    rabbitmq_report = simple_file(\"sos_commands/rabbitmq/rabbitmqctl_report\")\n    rabbitmq_report_of_containers = glob_file(\"sos_commands/rabbitmq/docker_exec_-t_rabbitmq-bundle-docker-*_rabbitmqctl_report\")\n    rhn_charsets = first_file([\"sos_commands/satellite/rhn-charsets\", \"sos_commands/rhn/rhn-charsets\"])\n    root_crontab = first_file([\"sos_commands/crontab/root_crontab\", \"sos_commands/cron/root_crontab\"])\n    route = simple_file(\"sos_commands/networking/route_-n\")\n    sestatus = simple_file(\"sos_commands/selinux/sestatus_-b\")\n    subscription_manager_list_consumed = first_file([\n        'sos_commands/yum/subscription-manager_list_--consumed',\n        'sos_commands/subscription_manager/subscription-manager_list_--consumed',\n        'sos_commands/general/subscription-manager_list_--consumed']\n    )\n    subscription_manager_list_installed = first_file([\n        'sos_commands/yum/subscription-manager_list_--installed',\n        'sos_commands/subscription_manager/subscription-manager_list_--installed',\n        'sos_commands/general/subscription-manager_list_--installed']\n    )\n    sysctl = simple_file(\"sos_commands/kernel/sysctl_-a\")\n    systemctl_list_unit_files = simple_file(\"sos_commands/systemd/systemctl_list-unit-files\")\n    systemctl_list_units = first_file([\"sos_commands/systemd/systemctl_list-units\", \"sos_commands/systemd/systemctl_list-units_--all\"])\n    teamdctl_config_dump = glob_file(\"sos_commands/teamd/teamdctl_*_config_dump\")\n    teamdctl_state_dump = glob_file(\"sos_commands/teamd/teamdctl_*_state_dump\")\n    uname = simple_file(\"sos_commands/kernel/uname_-a\")\n    uptime = first_of([simple_file(\"sos_commands/general/uptime\"), simple_file(\"sos_commands/host/uptime\")])\n    var_qemu_xml = glob_file(r\"var/run/libvirt/qemu/*.xml\")\n    vdsm_import_log = glob_file(\"var/log/vdsm/import/import-*.log\")\n    vgdisplay = first_file([\"sos_commands/lvm2/vgdisplay_-vv_--config_global_locking_type_0\", \"sos_commands/lvm2/vgdisplay_-vv\"])\n    vgs = first_file([\"sos_commands/lvm2/vgs_-v_-o_vg_mda_count_vg_mda_free_vg_mda_size_vg_mda_used_count_vg_tags_--config_global_locking_type_0\", \"sos_commands/lvm2/vgs_-v\"])\n    xfs_info = glob_file(\"sos_commands/xfs/xfs_info*\")\n    yum_repolist = simple_file(\"sos_commands/yum/yum_-C_repolist\")\n", "path": "insights/specs/sos_archive.py"}], "after_files": [{"content": "from functools import partial\nfrom insights.specs import Specs\nfrom insights.core.context import SosArchiveContext\nfrom insights.core.spec_factory import simple_file, first_of, first_file, glob_file\n\nfirst_file = partial(first_file, context=SosArchiveContext)\nglob_file = partial(glob_file, context=SosArchiveContext)\nsimple_file = partial(simple_file, context=SosArchiveContext)\n\n\nclass SosSpecs(Specs):\n    auditctl_status = simple_file(\"sos_commands/auditd/auditctl_-s\")\n    blkid = simple_file(\"sos_commands/block/blkid_-c_.dev.null\")\n    candlepin_log = first_of([\n        simple_file(\"/var/log/candlepin/candlepin.log\"),\n        simple_file(\"sos_commands/foreman/foreman-debug/var/log/candlepin/candlepin.log\")\n    ])\n    candlepin_error_log = first_of([\n        simple_file(\"var/log/candlepin/error.log\"),\n        simple_file(r\"sos_commands/foreman/foreman-debug/var/log/candlepin/error.log\")\n    ])\n    catalina_out = glob_file(\"var/log/tomcat*/catalina.out\")\n    catalina_server_log = glob_file(\"var/log/tomcat*/catalina*.log\")\n    ceph_osd_tree_text = simple_file(\"sos_commands/ceph/ceph_osd_tree\")\n    ceph_report = simple_file(\"sos_commands/ceph/ceph_report\")\n    ceph_health_detail = simple_file(\"sos_commands/ceph/ceph_health_detail_--format_json-pretty\")\n    chkconfig = first_file([\"sos_commands/startup/chkconfig_--list\", \"sos_commands/services/chkconfig_--list\"])\n    date = first_of([simple_file(\"sos_commands/general/date\"), simple_file(\"sos_commands/date/date\")])\n    df__al = first_file([\"sos_commands/filesys/df_-al\", \"sos_commands/filesys/df_-al_-x_autofs\"])\n    display_java = simple_file(\"sos_commands/java/alternatives_--display_java\")\n    docker_info = simple_file(\"sos_commands/docker/docker_info\")\n    docker_list_containers = first_file([\"sos_commands/docker/docker_ps_-a\", \"sos_commands/docker/docker_ps\"])\n    dmesg = first_file([\"sos_commands/kernel/dmesg\", \"var/log/dmesg\"])\n    dmidecode = simple_file(\"sos_commands/hardware/dmidecode\")\n    dmsetup_info = simple_file(\"sos_commands/devicemapper/dmsetup_info_-c\")\n    dumpe2fs_h = glob_file(\"sos_commands/filesys/dumpe2fs_-h_*\")\n    ethtool = glob_file(\"sos_commands/networking/ethtool_*\", ignore=\"ethtool_-.*\")\n    ethtool_S = glob_file(\"sos_commands/networking/ethtool_-S_*\")\n    ethtool_T = glob_file(\"sos_commands/networking/ethtool_-T_*\")\n    ethtool_a = glob_file(\"sos_commands/networking/ethtool_-a_*\")\n    ethtool_c = glob_file(\"sos_commands/networking/ethtool_-c_*\")\n    ethtool_g = glob_file(\"sos_commands/networking/ethtool_-g_*\")\n    ethtool_i = glob_file(\"sos_commands/networking/ethtool_-i_*\")\n    ethtool_k = glob_file(\"sos_commands/networking/ethtool_-k_*\")\n    fdisk_l_sos = first_of([glob_file(r\"sos_commands/filesys/fdisk_-l_*\"), glob_file(r\"sos_commands/block/fdisk_-l_*\")])\n    foreman_production_log = first_of([simple_file(\"/var/log/foreman/production.log\"), simple_file(\"sos_commands/foreman/foreman-debug/var/log/foreman/production.log\")])\n    foreman_proxy_conf = first_of([simple_file(\"/etc/foreman-proxy/settings.yml\"), simple_file(\"sos_commands/foreman/foreman-debug/etc/foreman-proxy/settings.yml\")])\n    foreman_proxy_log = first_of([simple_file(\"/var/log/foreman-proxy/proxy.log\"), simple_file(\"sos_commands/foreman/foreman-debug/var/log/foreman-proxy/proxy.log\")])\n    foreman_satellite_log = first_of([simple_file(\"/var/log/foreman-installer/satellite.log\"), simple_file(\"sos_commands/foreman/foreman-debug/var/log/foreman-installer/satellite.log\")])\n    foreman_ssl_access_ssl_log = first_file([\"var/log/httpd/foreman-ssl_access_ssl.log\", r\"sos_commands/foreman/foreman-debug/var/log/httpd/foreman-ssl_access_ssl.log\"])\n    getcert_list = first_file([\"sos_commands/ipa/ipa-getcert_list\", \"sos_commands/ipa/getcert_list\"])\n    gluster_v_info = simple_file(\"sos_commands/gluster/gluster_volume_info\")\n    gluster_v_status = simple_file(\"sos_commands/gluster/gluster_volume_status\")\n    hostname = first_file([\"sos_commands/general/hostname_-f\", \"sos_commands/general/hostname\", \"sos_commands/host/hostname_-f\", \"sos_commands/host/hostname\", \"/etc/hostname\", \"hostname\"])\n    installed_rpms = simple_file(\"installed-rpms\")\n    ip_addr = first_of([simple_file(\"sos_commands/networking/ip_-d_address\"), simple_file(\"sos_commands/networking/ip_address\")])\n    ip_route_show_table_all = simple_file(\"sos_commands/networking/ip_route_show_table_all\")\n    ip_s_link = first_of([simple_file(\"sos_commands/networking/ip_-s_-d_link\"), simple_file(\"sos_commands/networking/ip_-s_link\"), simple_file(\"sos_commands/networking/ip_link\")])\n    iptables = first_file([\"/etc/sysconfig/iptables\", \"/etc/sysconfig/iptables.save\"])\n    journal_since_boot = first_of([simple_file(\"sos_commands/logs/journalctl_--no-pager_--boot\"), simple_file(\"sos_commands/logs/journalctl_--no-pager_--catalog_--boot\")])\n    locale = simple_file(\"sos_commands/i18n/locale\")\n    lsblk = simple_file(\"sos_commands/block/lsblk\")\n    lscpu = simple_file(\"sos_commands/processor/lscpu\")\n    lsinitrd = simple_file(\"sos_commands/boot/lsinitrd\")\n    lsof = simple_file(\"sos_commands/process/lsof_-b_M_-n_-l\")\n    lsmod = simple_file(\"sos_commands/kernel/lsmod\")\n    lspci = first_of([\n        simple_file(\"sos_commands/pci/lspci_-nnvv\"),\n        simple_file(\"sos_commands/pci/lspci\"),\n        simple_file(\"sos_commands/pci/lspci_-nvv\")\n    ])\n    lsscsi = simple_file(\"sos_commands/scsi/lsscsi\")\n    ls_dev = first_file([\"sos_commands/block/ls_-lanR_.dev\", \"sos_commands/devicemapper/ls_-lanR_.dev\"])\n    lvs = first_file([\"sos_commands/lvm2/lvs_-a_-o_lv_tags_devices_--config_global_locking_type_0\", \"sos_commands/lvm2/lvs_-a_-o_devices\"])\n    mount = simple_file(\"sos_commands/filesys/mount_-l\")\n    multipath__v4__ll = first_file([\"sos_commands/multipath/multipath_-v4_-ll\", \"sos_commands/devicemapper/multipath_-v4_-ll\"])\n    netstat = first_file([\"sos_commands/networking/netstat_-neopa\", \"sos_commands/networking/netstat_-W_-neopa\", \"sos_commands/networking/netstat_-T_-neopa\"])\n    netstat_agn = first_of([simple_file(\"sos_commands/networking/netstat_-agn\"), simple_file(\"sos_commands/networking/netstat_-W_-agn\"), simple_file(\"sos_commands/networking/netstat_-T_-agn\")])\n    netstat_s = simple_file(\"sos_commands/networking/netstat_-s\")\n    nmcli_dev_show = simple_file(\"sos_commands/networking/nmcli_device_show\")\n    nmcli_dev_show_sos = glob_file([\"sos_commands/networking/nmcli_dev_show_*\", \"sos_commands/networkmanager/nmcli_dev_show_*\"])\n    ntptime = simple_file(\"sos_commands/ntp/ntptime\")\n    pcs_config = simple_file(\"sos_commands/pacemaker/pcs_config\")\n    pcs_status = simple_file(\"sos_commands/pacemaker/pcs_status\")\n    ps_alxwww = simple_file(\"sos_commands/process/ps_alxwww\")\n    ps_aux = first_file([\"sos_commands/process/ps_aux\", \"sos_commands/process/ps_auxwww\", \"sos_commands/process/ps_auxcww\"])\n    ps_auxcww = first_file([\"sos_commands/process/ps_auxcww\", \"sos_commands/process/ps_auxwww\", \"sos_commands/process/ps_aux\"])\n    ps_auxww = first_file([\"sos_commands/process/ps_auxww\", \"sos_commands/process/ps_auxwww\", \"sos_commands/process/ps_aux\", \"sos_commands/process/ps_auxcww\"])\n    puppet_ssl_cert_ca_pem = simple_file(\"sos_commands/foreman/foreman-debug/var/lib/puppet/ssl/certs/ca.pem\")\n    pvs = first_file([\"sos_commands/lvm2/pvs_-a_-v_-o_pv_mda_free_pv_mda_size_pv_mda_count_pv_mda_used_count_pe_start_--config_global_locking_type_0\", \"sos_commands/lvm2/pvs_-a_-v\"])\n    qpid_stat_q = first_of([\n        simple_file(\"qpid_stat_queues\"),\n        simple_file(\"qpid-stat-q\"),\n        simple_file(\"sos_commands/foreman/foreman-debug/qpid_stat_queues\"),\n        simple_file(\"sos_commands/foreman/foreman-debug/qpid-stat-q\")\n    ])\n    qpid_stat_u = first_of([\n        simple_file(\"qpid_stat_subscriptions\"),\n        simple_file(\"qpid-stat-u\"),\n        simple_file(\"sos_commands/foreman/foreman-debug/qpid_stat_subscriptions\"),\n        simple_file(\"sos_commands/foreman/foreman-debug/qpid-stat-u\")\n    ])\n    rabbitmq_report = simple_file(\"sos_commands/rabbitmq/rabbitmqctl_report\")\n    rabbitmq_report_of_containers = glob_file(\"sos_commands/rabbitmq/docker_exec_-t_rabbitmq-bundle-docker-*_rabbitmqctl_report\")\n    rhn_charsets = first_file([\"sos_commands/satellite/rhn-charsets\", \"sos_commands/rhn/rhn-charsets\"])\n    root_crontab = first_file([\"sos_commands/crontab/root_crontab\", \"sos_commands/cron/root_crontab\"])\n    route = simple_file(\"sos_commands/networking/route_-n\")\n    sestatus = simple_file(\"sos_commands/selinux/sestatus_-b\")\n    subscription_manager_list_consumed = first_file([\n        'sos_commands/yum/subscription-manager_list_--consumed',\n        'sos_commands/subscription_manager/subscription-manager_list_--consumed',\n        'sos_commands/general/subscription-manager_list_--consumed']\n    )\n    subscription_manager_list_installed = first_file([\n        'sos_commands/yum/subscription-manager_list_--installed',\n        'sos_commands/subscription_manager/subscription-manager_list_--installed',\n        'sos_commands/general/subscription-manager_list_--installed']\n    )\n    sysctl = simple_file(\"sos_commands/kernel/sysctl_-a\")\n    systemctl_list_unit_files = simple_file(\"sos_commands/systemd/systemctl_list-unit-files\")\n    systemctl_list_units = first_file([\"sos_commands/systemd/systemctl_list-units\", \"sos_commands/systemd/systemctl_list-units_--all\"])\n    teamdctl_config_dump = glob_file(\"sos_commands/teamd/teamdctl_*_config_dump\")\n    teamdctl_state_dump = glob_file(\"sos_commands/teamd/teamdctl_*_state_dump\")\n    uname = simple_file(\"sos_commands/kernel/uname_-a\")\n    uptime = first_of([simple_file(\"sos_commands/general/uptime\"), simple_file(\"sos_commands/host/uptime\")])\n    var_qemu_xml = glob_file(r\"var/run/libvirt/qemu/*.xml\")\n    vdsm_import_log = glob_file(\"var/log/vdsm/import/import-*.log\")\n    vgdisplay = first_file([\"sos_commands/lvm2/vgdisplay_-vv_--config_global_locking_type_0\", \"sos_commands/lvm2/vgdisplay_-vv\"])\n    vgs = first_file([\"sos_commands/lvm2/vgs_-v_-o_vg_mda_count_vg_mda_free_vg_mda_size_vg_mda_used_count_vg_tags_--config_global_locking_type_0\", \"sos_commands/lvm2/vgs_-v\"])\n    xfs_info = glob_file(\"sos_commands/xfs/xfs_info*\")\n    yum_repolist = simple_file(\"sos_commands/yum/yum_-C_repolist\")\n", "path": "insights/specs/sos_archive.py"}]}