foreman_netbox 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +619 -0
- data/README.md +50 -0
- data/Rakefile +50 -0
- data/app/contracts/foreman_netbox/device_contract.rb +42 -0
- data/app/contracts/foreman_netbox/params/interface_params.rb +16 -0
- data/app/contracts/foreman_netbox/params/ip_address_params.rb +15 -0
- data/app/contracts/foreman_netbox/params/tenant_params.rb +13 -0
- data/app/contracts/foreman_netbox/virtual_machine_contract.rb +29 -0
- data/app/interactors/foreman_netbox/concerns/facts.rb +11 -0
- data/app/interactors/foreman_netbox/concerns/primary_ips.rb +25 -0
- data/app/interactors/foreman_netbox/delete_host/delete_device.rb +20 -0
- data/app/interactors/foreman_netbox/delete_host/delete_virtual_machine.rb +20 -0
- data/app/interactors/foreman_netbox/delete_host/organizer.rb +12 -0
- data/app/interactors/foreman_netbox/sync_host/organizer.rb +35 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/create.rb +36 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/find.rb +41 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/organizer.rb +30 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/save_netbox_url.rb +29 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_device_role/create.rb +32 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_device_role/find.rb +28 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_device_role/organizer.rb +20 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/create.rb +34 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/find.rb +28 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/organizer.rb +22 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/sync_manufacturer/create.rb +34 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/sync_manufacturer/find.rb +40 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/sync_manufacturer/organizer.rb +22 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/update.rb +33 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/create.rb +37 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/delete.rb +36 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/find.rb +30 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/organizer.rb +23 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/sync_ip_addresses/create.rb +46 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/sync_ip_addresses/delete.rb +40 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/sync_ip_addresses/find.rb +32 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/sync_ip_addresses/organizer.rb +24 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/sync_ip_addresses/update.rb +39 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/update.rb +38 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_site/create.rb +32 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_site/find.rb +28 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_site/organizer.rb +25 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/sync_site/update.rb +35 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/update.rb +85 -0
- data/app/interactors/foreman_netbox/sync_host/sync_device/validate.rb +25 -0
- data/app/interactors/foreman_netbox/sync_host/sync_tenant/create.rb +30 -0
- data/app/interactors/foreman_netbox/sync_host/sync_tenant/find.rb +26 -0
- data/app/interactors/foreman_netbox/sync_host/sync_tenant/organizer.rb +19 -0
- data/app/interactors/foreman_netbox/sync_host/sync_tenant/update.rb +33 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/create.rb +34 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/find.rb +34 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/organizer.rb +28 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/save_netbox_url.rb +31 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/create.rb +35 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/find.rb +28 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/organizer.rb +22 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/sync_cluster_type/create.rb +34 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/sync_cluster_type/find.rb +32 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/sync_cluster_type/organizer.rb +22 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/update.rb +35 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/create.rb +33 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/delete.rb +36 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/find.rb +30 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/organizer.rb +23 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/sync_ip_addresses/create.rb +46 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/sync_ip_addresses/delete.rb +40 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/sync_ip_addresses/find.rb +28 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/sync_ip_addresses/organizer.rb +24 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/sync_ip_addresses/update.rb +39 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/update.rb +38 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/update.rb +82 -0
- data/app/interactors/foreman_netbox/sync_host/sync_virtual_machine/validate.rb +25 -0
- data/app/jobs/foreman_netbox/sync_host_job.rb +19 -0
- data/app/lib/foreman_netbox/api.rb +12 -0
- data/app/models/concerns/foreman_netbox/host_extensions.rb +27 -0
- data/app/models/concerns/foreman_netbox/location_extensions.rb +13 -0
- data/app/models/concerns/foreman_netbox/nic/base_extensions.rb +23 -0
- data/app/models/concerns/foreman_netbox/user_usergroup_common_extensions.rb +18 -0
- data/app/models/foreman_netbox/netbox_facet.rb +34 -0
- data/app/models/orchestration/netbox.rb +64 -0
- data/app/models/setting/netbox.rb +32 -0
- data/app/services/foreman_netbox/cached_netbox_parameters.rb +103 -0
- data/app/services/foreman_netbox/netbox_parameters.rb +185 -0
- data/app/services/foreman_netbox/netbox_parameters_comparator.rb +96 -0
- data/app/views/hosts/_netbox_tab.html.erb +28 -0
- data/config/routes.rb +4 -0
- data/db/migrate/20200527135812_create_netbox_facet.rb +12 -0
- data/db/migrate/20200604141933_add_sync_info_to_netbox_facet.rb +8 -0
- data/db/migrate/20200708093607_add_raw_data_to_netbox_facet.rb +7 -0
- data/lib/foreman_netbox.rb +6 -0
- data/lib/foreman_netbox/engine.rb +64 -0
- data/lib/foreman_netbox/version.rb +5 -0
- data/lib/tasks/foreman_netbox_tasks.rake +67 -0
- data/test/factories/host.rb +17 -0
- data/test/factories/netbox_facet.rb +17 -0
- data/test/fixtures/facts/k8s_physical_host.json +328 -0
- data/test/fixtures/facts/rhel_physical_host.json +512 -0
- data/test/fixtures/facts/rhel_virtual_host.json +455 -0
- data/test/fixtures/netbox_device_raw_data.json +330 -0
- data/test/fixtures/netbox_virtual_machine_raw_data.json +241 -0
- data/test/integration/foreman_netbox/sync_k8s_physical_host_test.rb +81 -0
- data/test/integration/foreman_netbox/sync_rhel_physical_host_test.rb +81 -0
- data/test/integration/foreman_netbox/sync_rhel_virtual_host_test.rb +93 -0
- data/test/interactors/foreman_netbox/sync_host/organizer_test.rb +78 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/create_test.rb +65 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/find_test.rb +105 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/save_netbox_url_test.rb +39 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_device_role/create_test.rb +45 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_device_role/find_test.rb +58 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/create_test.rb +55 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/find_test.rb +63 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/sync_manufacturer/create_test.rb +48 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/sync_manufacturer/find_test.rb +105 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_device_type/update_test.rb +54 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/create_test.rb +51 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/delete_test.rb +41 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/find_test.rb +53 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/sync_ip_addresses/create_test.rb +80 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/sync_ip_addresses/delete_test.rb +72 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/sync_ip_addresses/find_test.rb +51 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/sync_ip_addresses/update_test.rb +64 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_interfaces/update_test.rb +92 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_site/create_test.rb +51 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_site/find_test.rb +59 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/sync_site/update_test.rb +54 -0
- data/test/interactors/foreman_netbox/sync_host/sync_device/update_test.rb +188 -0
- data/test/interactors/foreman_netbox/sync_host/sync_tenant/create_test.rb +50 -0
- data/test/interactors/foreman_netbox/sync_host/sync_tenant/find_test.rb +58 -0
- data/test/interactors/foreman_netbox/sync_host/sync_tenant/update_test.rb +59 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/create_test.rb +74 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/find_test.rb +77 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/save_netbox_url_test.rb +39 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/create_test.rb +54 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/find_test.rb +58 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/sync_cluster_type/create_test.rb +50 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/sync_cluster_type/find_test.rb +65 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_cluster/update_test.rb +54 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/create_test.rb +53 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/delete_test.rb +37 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/find_test.rb +53 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/sync_ip_addresses/create_test.rb +80 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/sync_ip_addresses/delete_test.rb +73 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/sync_ip_addresses/find_test.rb +51 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/sync_ip_addresses/update_test.rb +64 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/sync_interfaces/update_test.rb +88 -0
- data/test/interactors/foreman_netbox/sync_host/sync_virtual_machine/update_test.rb +171 -0
- data/test/jobs/foreman_netbox/sync_host_job_test.rb +14 -0
- data/test/models/foreman_netbox/location_test.rb +42 -0
- data/test/models/foreman_netbox/netbox_facet_test.rb +219 -0
- data/test/models/foreman_netbox/nics/base_test.rb +81 -0
- data/test/models/foreman_netbox/usergroup_test.rb +23 -0
- data/test/models/host/managed_test.rb +63 -0
- data/test/services/foreman_netbox/netbox_attributes_test.rb +278 -0
- data/test/services/foreman_netbox/netbox_parameters_comparator_test.rb +136 -0
- data/test/test_plugin_helper.rb +25 -0
- metadata +343 -0
@@ -0,0 +1,455 @@
|
|
1
|
+
{
|
2
|
+
"memory::system::used_bytes": "1976668160",
|
3
|
+
"memory::system::used": "1.84 GiB",
|
4
|
+
"memory::system::capacity": "49.74%",
|
5
|
+
"memory::system::available_bytes": "1997185024",
|
6
|
+
"memory::system::available": "1.86 GiB",
|
7
|
+
"load_averages::5m": "0.12",
|
8
|
+
"load_averages::1m": "0.25",
|
9
|
+
"last_run": "Thu Jan 16 10:58:41 CET 2020",
|
10
|
+
"load_averages::15m": "0.1",
|
11
|
+
"update_system_last_success": "2020-01-16T05:03:06+0100",
|
12
|
+
"puppet_server": "puppet.prod.location.de.local",
|
13
|
+
"puppet_master_server": "puppet.prod.location.de.local",
|
14
|
+
"memory::swap::used_bytes": "60010496",
|
15
|
+
"memory::swap::used": "57.23 MiB",
|
16
|
+
"memory::swap::capacity": "1.40%",
|
17
|
+
"memory::swap::available_bytes": "4234952704",
|
18
|
+
"memory::swap::available": "3.94 GiB",
|
19
|
+
"update_system_updatecount": "0",
|
20
|
+
"update_system_autopatching": "enabled",
|
21
|
+
"package_provider": "yum",
|
22
|
+
"subscription_managed": "true",
|
23
|
+
"ssh::rsa": null,
|
24
|
+
"ssh::rsa::fingerprints": null,
|
25
|
+
"ssh::ed25519": null,
|
26
|
+
"ssh::ed25519::fingerprints": null,
|
27
|
+
"ssh::ecdsa": null,
|
28
|
+
"ssh::ecdsa::fingerprints": null,
|
29
|
+
"puppet_sslpaths::hostcrl": null,
|
30
|
+
"puppet_sslpaths::requestdir": null,
|
31
|
+
"puppet_sslpaths::certdir": null,
|
32
|
+
"puppet_sslpaths::publickeydir": null,
|
33
|
+
"puppet_sslpaths::privatekeydir": null,
|
34
|
+
"puppet_sslpaths::privatedir": null,
|
35
|
+
"os::selinux": null,
|
36
|
+
"os::release": null,
|
37
|
+
"networking::interfaces": null,
|
38
|
+
"networking::interfaces::eth0": null,
|
39
|
+
"memory::system": null,
|
40
|
+
"memory::swap": null,
|
41
|
+
"hypervisors::vmware": null,
|
42
|
+
"dmi::product": null,
|
43
|
+
"dmi::chassis": null,
|
44
|
+
"dmi::board": null,
|
45
|
+
"dmi::bios": null,
|
46
|
+
"disks::sda": null,
|
47
|
+
"systemd_internal_services::systemd-readahead-replay.service": "enabled",
|
48
|
+
"systemd_internal_services::systemd-readahead-drop.service": "enabled",
|
49
|
+
"systemd_internal_services::systemd-readahead-done.service": "indirect",
|
50
|
+
"systemd_internal_services::systemd-readahead-collect.service": "enabled",
|
51
|
+
"systemd_internal_services::systemd-nspawn@.service": "disabled",
|
52
|
+
"systemd_internal_services::systemd-bootchart.service": "disabled",
|
53
|
+
"sssd::services": "[\"nss\", \"pam\"]",
|
54
|
+
"ssh::rsa::type": "ssh-rsa",
|
55
|
+
"ruby::version": "2.5.7",
|
56
|
+
"ruby::sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
|
57
|
+
"ruby::platform": "x86_64-linux",
|
58
|
+
"puppet_sslpaths::hostcrl::path_exists": "true",
|
59
|
+
"puppet_sslpaths::hostcrl::path": "/etc/puppetlabs/puppet/ssl/crl.pem",
|
60
|
+
"puppet_sslpaths::requestdir::path_exists": "true",
|
61
|
+
"puppet_sslpaths::requestdir::path": "/etc/puppetlabs/puppet/ssl/certificate_requests",
|
62
|
+
"puppet_sslpaths::certdir::path_exists": "true",
|
63
|
+
"puppet_sslpaths::certdir::path": "/etc/puppetlabs/puppet/ssl/certs",
|
64
|
+
"puppet_sslpaths::publickeydir::path_exists": "true",
|
65
|
+
"puppet_sslpaths::publickeydir::path": "/etc/puppetlabs/puppet/ssl/public_keys",
|
66
|
+
"puppet_sslpaths::privatekeydir::path_exists": "true",
|
67
|
+
"puppet_sslpaths::privatekeydir::path": "/etc/puppetlabs/puppet/ssl/private_keys",
|
68
|
+
"puppet_sslpaths::privatedir::path_exists": "true",
|
69
|
+
"puppet_sslpaths::privatedir::path": "/etc/puppetlabs/puppet/ssl/private",
|
70
|
+
"processors::physicalcount": "1",
|
71
|
+
"processors::models": "[\"Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz\"]",
|
72
|
+
"processors::isa": "x86_64",
|
73
|
+
"processors::count": "1",
|
74
|
+
"os::selinux::enabled": "false",
|
75
|
+
"os::release::minor": "7",
|
76
|
+
"os::release::major": "7",
|
77
|
+
"os::release::full": "7.7",
|
78
|
+
"os::name": "RedHat",
|
79
|
+
"os::hardware": "x86_64",
|
80
|
+
"os::family": "RedHat",
|
81
|
+
"os::architecture": "x86_64",
|
82
|
+
"networking::scope6": "link",
|
83
|
+
"networking::primary": "eth0",
|
84
|
+
"networking::network6": "fe80::",
|
85
|
+
"networking::network": "172.23.75.0",
|
86
|
+
"networking::netmask6": "ffff:ffff:ffff:ffff::",
|
87
|
+
"networking::netmask": "255.255.255.0",
|
88
|
+
"networking::mtu": "1500",
|
89
|
+
"networking::mac": "aa:bb:cc:dd:ee:ff",
|
90
|
+
"networking::ip6": "fc80::",
|
91
|
+
"networking::ip": "172.23.75.133",
|
92
|
+
"networking::interfaces::eth0::scope6": "link",
|
93
|
+
"networking::interfaces::eth0::network6": "fe80::",
|
94
|
+
"networking::interfaces::eth0::network": "172.23.75.0",
|
95
|
+
"networking::interfaces::eth0::netmask6": "ffff:ffff:ffff:ffff::",
|
96
|
+
"networking::interfaces::eth0::netmask": "255.255.255.0",
|
97
|
+
"networking::interfaces::eth0::mtu": "1500",
|
98
|
+
"networking::interfaces::eth0::mac": "aa:bb:cc:dd:ee:ff",
|
99
|
+
"networking::interfaces::eth0::ip6": "fc80::",
|
100
|
+
"networking::interfaces::eth0::ip": "172.23.75.133",
|
101
|
+
"networking::interfaces::eth0::dhcp": "172.23.35.145",
|
102
|
+
"networking::interfaces::eth0::bindings6": "[{\"address\"=>\"fc80::\", \"netmask\"=>\"ffff:ffff:ffff:ffff::\", \"network\"=>\"fe80::\"}]",
|
103
|
+
"networking::interfaces::eth0::bindings": "[{\"address\"=>\"172.23.75.133\", \"netmask\"=>\"255.255.255.0\", \"network\"=>\"172.23.75.0\"}]",
|
104
|
+
"networking::hostname": "tst-manuel-01",
|
105
|
+
"networking::fqdn": "machine.sbx.location.de.local",
|
106
|
+
"networking::domain": "sbx.location.de.local",
|
107
|
+
"networking::dhcp": "172.23.35.145",
|
108
|
+
"memory::system::total_bytes": "3973853184",
|
109
|
+
"memory::system::total": "3.70 GiB",
|
110
|
+
"memory::swap::total_bytes": "4294963200",
|
111
|
+
"memory::swap::total": "4.00 GiB",
|
112
|
+
"identity::user": "root",
|
113
|
+
"identity::uid": "0",
|
114
|
+
"identity::privileged": "true",
|
115
|
+
"identity::group": "root",
|
116
|
+
"identity::gid": "0",
|
117
|
+
"hypervisors::vmware::version": "",
|
118
|
+
"dmi::product::uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
|
119
|
+
"dmi::product::serial_number": "VMware-11 22 33 44 55 66 77 88 99 aa bb cc",
|
120
|
+
"dmi::product::name": "VMware Virtual Platform",
|
121
|
+
"dmi::manufacturer": "VMware, Inc.",
|
122
|
+
"dmi::chassis::type": "Other",
|
123
|
+
"dmi::chassis::asset_tag": "No Asset Tag",
|
124
|
+
"dmi::board::serial_number": "None",
|
125
|
+
"dmi::board::product": "440BX Desktop Reference Platform",
|
126
|
+
"dmi::board::manufacturer": "Intel Corporation",
|
127
|
+
"dmi::bios::version": "6.00",
|
128
|
+
"dmi::bios::vendor": "Phoenix Technologies LTD",
|
129
|
+
"dmi::bios::release_date": "12/12/2018",
|
130
|
+
"disks::sda::vendor": "VMware",
|
131
|
+
"disks::sda::size_bytes": "233001975808",
|
132
|
+
"disks::sda::size": "217.00 GiB",
|
133
|
+
"disks::sda::model": "Virtual disk",
|
134
|
+
"dhcp_servers::system": "172.23.35.145",
|
135
|
+
"dhcp_servers::eth0": "172.23.35.145",
|
136
|
+
"augeas::version": "1.12.0",
|
137
|
+
"hypervisors": null,
|
138
|
+
"systemd_internal_services": null,
|
139
|
+
"puppet_sslpaths": null,
|
140
|
+
"subscribed_repositories": "[\"rhel-server-rhscl-7-eus-rpms\", \"rhel-server-rhscl-7-rpms\", \"rhel-7-server-optional-rpms\", \"rhel-7-server-eus-optional-rpms\", \"rhel-7-server-eus-rpms\", \"rhel-7-server-rpms\", \"rhel-7-server-supplementary-rpms\", \"rhel-7-server-extras-rpms\", \"rhel-7-server-eus-supplementary-rpms\"]",
|
141
|
+
"ssh": null,
|
142
|
+
"dhcp_servers": null,
|
143
|
+
"ruby": null,
|
144
|
+
"memory": null,
|
145
|
+
"load_averages": null,
|
146
|
+
"dmi": null,
|
147
|
+
"update_system_last_success_actioncount": "1",
|
148
|
+
"update_system_secupdatecount": "0",
|
149
|
+
"openssh_version": "7.4p1",
|
150
|
+
"scope6_eth0": "link",
|
151
|
+
"scope6": "link",
|
152
|
+
"update_system_failing_since": "never",
|
153
|
+
"systemd_version": "219",
|
154
|
+
"systemd": "true",
|
155
|
+
"system_type": "manuel",
|
156
|
+
"sudoversion": "1.8.23",
|
157
|
+
"subscription_manager_release": "Release: 7Server",
|
158
|
+
"service_provider": "systemd",
|
159
|
+
"serverinstance_string": "01",
|
160
|
+
"serverinstance": "1",
|
161
|
+
"root_home": "/root",
|
162
|
+
"puppet_vardir": "/opt/puppetlabs/puppet/cache",
|
163
|
+
"puppet_ssldir": "/etc/puppetlabs/puppet/ssl",
|
164
|
+
"puppet_config": "/etc/puppetlabs/puppet/puppet.conf",
|
165
|
+
"puppet_confdir": "/etc/puppetlabs/puppet",
|
166
|
+
"puppet_client_datadir": "/opt/puppetlabs/puppet/cache/client_data",
|
167
|
+
"project": "tst",
|
168
|
+
"nameserver_list": "127.0.0.1 172.23.98.120",
|
169
|
+
"katello_managed": "true",
|
170
|
+
"init_system": "systemd",
|
171
|
+
"icinga2_puppet_localcacert": "/etc/puppetlabs/puppet/ssl/certs/ca.pem",
|
172
|
+
"icinga2_puppet_hostprivkey": "/etc/puppetlabs/puppet/ssl/private_keys/machine.sbx.location.de.local.pem",
|
173
|
+
"icinga2_puppet_hostcert": "/etc/puppetlabs/puppet/ssl/certs/machine.sbx.location.de.local.pem",
|
174
|
+
"filebeat_version": "6.6.2",
|
175
|
+
"defaultgw": "172.23.75.254",
|
176
|
+
"default_macaddress": "aa:bb:cc:dd:ee:ff",
|
177
|
+
"default_ipaddress": "172.23.75.133",
|
178
|
+
"default_interface": "eth0",
|
179
|
+
"chrony_version": "3.4",
|
180
|
+
"app_tier": "lxsbx",
|
181
|
+
"mongodb_version": "2.6.12",
|
182
|
+
"networking": null,
|
183
|
+
"processors": null,
|
184
|
+
"os": null,
|
185
|
+
"identity": null,
|
186
|
+
"uname::version": "#1 SMP Mon Dec 2 08:31:54 EST 2019",
|
187
|
+
"sssd": null,
|
188
|
+
"apache_version": "2.4.6",
|
189
|
+
"blockdevice_sda_size": "233001975808",
|
190
|
+
"path": "/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/puppetlabs/bin:/root/bin",
|
191
|
+
"proc_cpuinfo::common::microcode": "0xb000036",
|
192
|
+
"disks": null,
|
193
|
+
"puppetmaster_fqdn": "puppet.prod.location.de.local",
|
194
|
+
"swapfree": "3.94 GiB",
|
195
|
+
"memoryfree": "1.86 GiB",
|
196
|
+
"uptime_seconds": "2105559",
|
197
|
+
"uptime_hours": "584",
|
198
|
+
"swapfree_mb": "4038.765625",
|
199
|
+
"memoryfree_mb": "1904.6640625",
|
200
|
+
"augeas": null,
|
201
|
+
"uptime_days": "24",
|
202
|
+
"uptime": "24 days",
|
203
|
+
"memorysize_mb": "3789.76171875",
|
204
|
+
"kernelrelease": "3.10.0-1062.9.1.el7.x86_64",
|
205
|
+
"_timestamp": "2019-12-23 05:10:40 +0100",
|
206
|
+
"memory::memtotal": "3880716",
|
207
|
+
"proc_stat::btime": "1577063163",
|
208
|
+
"dmi::memory::speed": " (ns)",
|
209
|
+
"dmi::meta": null,
|
210
|
+
"proc_stat": null,
|
211
|
+
"net::interface::eth0::ipv6_netmask": null,
|
212
|
+
"net::interface::eth0::ipv6_address": null,
|
213
|
+
"network": "172.23.75.0",
|
214
|
+
"cpu": null,
|
215
|
+
"dmi::connector": null,
|
216
|
+
"dmi::baseboard": null,
|
217
|
+
"dmi::slot": null,
|
218
|
+
"lscpu": null,
|
219
|
+
"distribution": null,
|
220
|
+
"system": null,
|
221
|
+
"net": null,
|
222
|
+
"net::interface": null,
|
223
|
+
"net::interface::eth0": null,
|
224
|
+
"dmi::memory": null,
|
225
|
+
"virt": null,
|
226
|
+
"proc_cpuinfo": null,
|
227
|
+
"proc_cpuinfo::common": null,
|
228
|
+
"dmi::processor": null,
|
229
|
+
"dmi::system": null,
|
230
|
+
"uname": null,
|
231
|
+
"lscpu::flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm ssbd ibrs ibpb stibp tsc_adjust arat md_clear spec_ctrl intel_stibp flush_l1d arch_capabilities",
|
232
|
+
"dmi::system::wake-up_type": "Power Switch",
|
233
|
+
"dmi::meta::cpu_socket_count": "1",
|
234
|
+
"lscpu::socket(s)": "1",
|
235
|
+
"dmi::processor::asset_tag": "Not Specified",
|
236
|
+
"dmi::system::sku_number": "Not Specified",
|
237
|
+
"dmi::processor::voltage": "5.0 V",
|
238
|
+
"dmi::memory::array_handle": "0x0025",
|
239
|
+
"dmi::processor::l2_cache_handle": "0x0016",
|
240
|
+
"uname::nodename": "machine.sbx.location.de.local",
|
241
|
+
"dmi::memory::error_information_handle": "No Error",
|
242
|
+
"proc_cpuinfo::common::fpu_exception": "yes",
|
243
|
+
"dmi::baseboard::serial_number": "None",
|
244
|
+
"uname::machine": "x86_64",
|
245
|
+
"dmi::memory::serial_number": "Not Specified",
|
246
|
+
"dmi::bios::relase_date": "12/12/2018",
|
247
|
+
"dmi::connector::internal_connector_type": "25 Pin Dual Inline (pin 26 cut)",
|
248
|
+
"dmi::slot::designation": "ISA Slot J8",
|
249
|
+
"dmi::processor::serial_number": "Not Specified",
|
250
|
+
"cpu::thread(s)_per_core": "1",
|
251
|
+
"net::interface::eth0::ipv4_netmask": "24",
|
252
|
+
"dmi::connector::internal_reference_designator": "J23",
|
253
|
+
"proc_cpuinfo::common::initial_apicid": "0",
|
254
|
+
"dmi::bios::rom_size": "64 KB",
|
255
|
+
"memory::swaptotal": "4194300",
|
256
|
+
"lscpu::cpu_op-mode(s)": "32-bit, 64-bit",
|
257
|
+
"cpu::cpu_socket(s)": "1",
|
258
|
+
"dmi::memory::form_factor": "DIMM",
|
259
|
+
"cpu::topology_source": "kernel /sys cpu sibling lists",
|
260
|
+
"dmi::processor::part_number": "Not Specified",
|
261
|
+
"dmi::processor::version": "Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz",
|
262
|
+
"dmi::system::product_name": "VMware Virtual Platform",
|
263
|
+
"lscpu::cpu_mhz": "2494.140",
|
264
|
+
"net::interface::eth0::ipv4_broadcast": "172.23.75.255",
|
265
|
+
"proc_cpuinfo::common::model_name": "Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz",
|
266
|
+
"lscpu::core(s)_per_socket": "1",
|
267
|
+
"proc_cpuinfo::common::model": "45",
|
268
|
+
"dmi::memory::maximum_capacity": "65 GB",
|
269
|
+
"dmi::chassis::security_status": "None",
|
270
|
+
"lscpu::architecture": "x86_64",
|
271
|
+
"lscpu::numa_node0_cpu(s)": "0",
|
272
|
+
"dmi::chassis::thermal_state": "Safe",
|
273
|
+
"net::interface::eth0::ipv6_address::link_list": "fc80::",
|
274
|
+
"distribution::version::modifier": "ga",
|
275
|
+
"dmi::memory::part_number": "Not Specified",
|
276
|
+
"lscpu::bogomips": "4988.28",
|
277
|
+
"lscpu::virtualization_type": "full",
|
278
|
+
"lscpu::vendor_id": "GenuineIntel",
|
279
|
+
"dmi::connector::port_type": "Parallel Port ECP/EPP",
|
280
|
+
"proc_cpuinfo::common::cpu_mhz": "2494.140",
|
281
|
+
"dmi::bios::bios_revision": "4.6",
|
282
|
+
"dmi::baseboard::product_name": "440BX Desktop Reference Platform",
|
283
|
+
"dmi::bios::runtime_size": "88944 bytes",
|
284
|
+
"dmi::chassis::power_supply_state": "Safe",
|
285
|
+
"proc_cpuinfo::common::cache_alignment": "64",
|
286
|
+
"lscpu::cpu_family": "6",
|
287
|
+
"lscpu::model_name": "Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz",
|
288
|
+
"lscpu::hypervisor_vendor": "VMware",
|
289
|
+
"dmi::slot::slotlength": "Short",
|
290
|
+
"proc_cpuinfo::common::cpu_cores": "1",
|
291
|
+
"proc_cpuinfo::common::fpu": "yes",
|
292
|
+
"net::interface::eth0::ipv4_address_list": "172.23.75.133",
|
293
|
+
"network::fqdn": "machine.sbx.location.de.local",
|
294
|
+
"lscpu::byte_order": "Little Endian",
|
295
|
+
"dmi::processor::upgrade": "ZIF Socket",
|
296
|
+
"dmi::memory::size": "4096 MB",
|
297
|
+
"dmi::memory::use": "System Memory",
|
298
|
+
"dmi::baseboard::manufacturer": "Intel Corporation",
|
299
|
+
"dmi::system::manufacturer": "VMware, Inc.",
|
300
|
+
"proc_cpuinfo::common::core_id": "0",
|
301
|
+
"proc_cpuinfo::common::apicid": "0",
|
302
|
+
"network::hostname": "machine.sbx.location.de.local",
|
303
|
+
"cpu::cpu(s)": "1",
|
304
|
+
"dmi::memory::location": "System Board Or Motherboard",
|
305
|
+
"net::interface::eth0::ipv4_netmask_list": "24",
|
306
|
+
"dmi::chassis::version": "N/A",
|
307
|
+
"dmi::system::status": "No errors detected",
|
308
|
+
"lscpu::l3_cache": "39424K",
|
309
|
+
"dmi::processor::l1_cache_handle": "0x0015",
|
310
|
+
"proc_cpuinfo::common::stepping": "2",
|
311
|
+
"dmi::memory::locator": "RAM slot #61",
|
312
|
+
"lscpu::on-line_cpu(s)_list": "0",
|
313
|
+
"proc_cpuinfo::common::address_sizes": "43 bits physical, 48 bits virtual",
|
314
|
+
"net::interface::eth0::ipv6_netmask::link_list": "64",
|
315
|
+
"dmi::processor::status": "Populated:Enabled",
|
316
|
+
"dmi::chassis::boot-up_state": "Safe",
|
317
|
+
"proc_cpuinfo::common::physical_id": "0",
|
318
|
+
"dmi::system::serial_number": "VMware-11 22 33 44 55 66 77 88 99 aa bb cc",
|
319
|
+
"virt::uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
|
320
|
+
"network::ipv6_address": "fc80::",
|
321
|
+
"dmi::chassis::lock": "Not Present",
|
322
|
+
"system::certificate_version": "3.2",
|
323
|
+
"dmi::slot::type:slottype": "ISA",
|
324
|
+
"dmi::chassis::serial_number": "None",
|
325
|
+
"proc_cpuinfo::common::clflush_size": "64",
|
326
|
+
"proc_cpuinfo::common::siblings": "1",
|
327
|
+
"lscpu::model": "45",
|
328
|
+
"net::interface::eth0::ipv4_broadcast_list": "172.23.75.255",
|
329
|
+
"proc_cpuinfo::common::vendor_id": "GenuineIntel",
|
330
|
+
"lscpu::stepping": "2",
|
331
|
+
"net::interface::eth0::ipv6_netmask::link": "64",
|
332
|
+
"lscpu::thread(s)_per_core": "1",
|
333
|
+
"lscpu::cpu(s)": "1",
|
334
|
+
"dmi::system::version": "None",
|
335
|
+
"dmi::connector::external_connector_type": "DB-25 female",
|
336
|
+
"net::interface::eth0::ipv6_address::link": "fc80::",
|
337
|
+
"proc_cpuinfo::common::processor": "0",
|
338
|
+
"uname::release": "3.10.0-1062.9.1.el7.x86_64",
|
339
|
+
"network::ipv4_address": "172.23.75.133",
|
340
|
+
"proc_cpuinfo::common::cpu_family": "6",
|
341
|
+
"distribution::version": "7.7",
|
342
|
+
"cpu::core(s)_per_socket": "1",
|
343
|
+
"dmi::system::family": "Not Specified",
|
344
|
+
"net::interface::eth0::ipv4_address": "172.23.75.133",
|
345
|
+
"proc_cpuinfo::common::bogomips": "4988.28",
|
346
|
+
"proc_cpuinfo::common::wp": "yes",
|
347
|
+
"dmi::processor::socket_designation": "CPU #000",
|
348
|
+
"lscpu::l2_cache": "1024K",
|
349
|
+
"processorcount": "1",
|
350
|
+
"processor0": "Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz",
|
351
|
+
"physicalprocessorcount": "1",
|
352
|
+
"osfamily": "RedHat",
|
353
|
+
"operatingsystemrelease": "7.7",
|
354
|
+
"operatingsystemmajrelease": "7",
|
355
|
+
"operatingsystem": "RedHat",
|
356
|
+
"network_eth0": "172.23.75.0",
|
357
|
+
"network6_eth0": "fe80::",
|
358
|
+
"network6": "fe80::",
|
359
|
+
"netmask_eth0": "255.255.255.0",
|
360
|
+
"netmask6_eth0": "ffff:ffff:ffff:ffff::",
|
361
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
362
|
+
"netmask": "255.255.255.0",
|
363
|
+
"mysql_server_id": "23091853",
|
364
|
+
"mtu_eth0": "1500",
|
365
|
+
"mongodb_is_master": "not_installed",
|
366
|
+
"manufacturer": "VMware, Inc.",
|
367
|
+
"macaddress_eth0": "aa:bb:cc:dd:ee:ff",
|
368
|
+
"macaddress": "aa:bb:cc:dd:ee:ff",
|
369
|
+
"lvm_vgs": "1",
|
370
|
+
"lvm_vg_vg0_pvs": "/dev/sda2",
|
371
|
+
"lvm_vg_0": "vg0",
|
372
|
+
"lvm_support": "true",
|
373
|
+
"lvm_pvs": "1",
|
374
|
+
"lvm_pv_0": "/dev/sda2",
|
375
|
+
"logstash_version": "package logstash is not installed",
|
376
|
+
"kernelversion": "3.10.0",
|
377
|
+
"kernelmajversion": "3.10",
|
378
|
+
"kernel": "Linux",
|
379
|
+
"is_virtual": "true",
|
380
|
+
"ipaddress_eth0": "172.23.75.133",
|
381
|
+
"ipaddress6_eth0": "fc80::",
|
382
|
+
"ipaddress6": "fc80::",
|
383
|
+
"ipaddress": "172.23.75.133",
|
384
|
+
"interfaces": "eth0,lo",
|
385
|
+
"id": "root",
|
386
|
+
"icinga_net_speed": "10000",
|
387
|
+
"hostname": "machine",
|
388
|
+
"hardwaremodel": "x86_64",
|
389
|
+
"hardwareisa": "x86_64",
|
390
|
+
"gid": "root",
|
391
|
+
"fqdn": "machine.sbx.location.de.local",
|
392
|
+
"facterversion": "3.14.7",
|
393
|
+
"domain": "sbx.location.de.local",
|
394
|
+
"dmi::slot::current_usage": "Unknown",
|
395
|
+
"proc_cpuinfo::common::flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm ssbd ibrs ibpb stibp tsc_adjust arat md_clear spec_ctrl intel_stibp flush_l1d arch_capabilities",
|
396
|
+
"dmi::connector::external_reference_designator": "Parallel",
|
397
|
+
"dmi::processor::type": "Central Processor",
|
398
|
+
"dmi::memory::error_correction_type": "None",
|
399
|
+
"dmi::baseboard::version": "None",
|
400
|
+
"virt::is_guest": "true",
|
401
|
+
"dmi::slot::type:slotbuswidth": "16-bit",
|
402
|
+
"lscpu::l1i_cache": "32K",
|
403
|
+
"dmi::slot::slotid": "2",
|
404
|
+
"distribution::name": "Red Hat Enterprise Linux Server",
|
405
|
+
"lscpu::numa_node(s)": "1",
|
406
|
+
"proc_cpuinfo::common::cache_size": "39424 KB",
|
407
|
+
"dmi::memory::bank_locator": "RAM slot #61",
|
408
|
+
"dmi::chassis::manufacturer": "No Enclosure",
|
409
|
+
"dmi::memory::assettag": "Not Specified",
|
410
|
+
"lscpu::l1d_cache": "32K",
|
411
|
+
"distribution::id": "Maipo",
|
412
|
+
"dmi::bios::address": "0xea490",
|
413
|
+
"system::default_locale": "en_US.UTF-8",
|
414
|
+
"dmi::memory::type": "DRAM",
|
415
|
+
"net::interface::eth0::mac_address": "aa:bb:cc:dd:ee:ff",
|
416
|
+
"dmi::memory::manufacturer": "Not Specified",
|
417
|
+
"virt::host_type": "vmware",
|
418
|
+
"proc_cpuinfo::common::cpuid_level": "13",
|
419
|
+
"dmi::processor::family": "Unknown",
|
420
|
+
"dmi::system::uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
|
421
|
+
"uname::sysname": "Linux",
|
422
|
+
"memorysize": "3.70 GiB",
|
423
|
+
"filesystems": "xfs",
|
424
|
+
"clientversion": "6.12.0",
|
425
|
+
"clientcert": "machine.sbx.location.de.local",
|
426
|
+
"virtual": "vmware",
|
427
|
+
"uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
|
428
|
+
"timezone": "CET",
|
429
|
+
"swapsize_mb": "4095.99609375",
|
430
|
+
"swapsize": "4.00 GiB",
|
431
|
+
"staging_http_get": "curl",
|
432
|
+
"serialnumber": "VMware-11 22 33 44 55 66 77 88 99 aa bb cc",
|
433
|
+
"rubyversion": "2.5.7",
|
434
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
|
435
|
+
"rubyplatform": "x86_64-linux",
|
436
|
+
"puppetversion": "6.12.0",
|
437
|
+
"productname": "VMware Virtual Platform",
|
438
|
+
"chassistype": "Other",
|
439
|
+
"chassisassettag": "No Asset Tag",
|
440
|
+
"boardserialnumber": "None",
|
441
|
+
"boardproductname": "440BX Desktop Reference Platform",
|
442
|
+
"boardmanufacturer": "Intel Corporation",
|
443
|
+
"blockdevices": "sda",
|
444
|
+
"blockdevice_sda_vendor": "VMware",
|
445
|
+
"blockdevice_sda_model": "Virtual disk",
|
446
|
+
"block_vendor_sda": "VMware",
|
447
|
+
"block_driver_sda": "mptspi",
|
448
|
+
"block_devices": "sda",
|
449
|
+
"bios_version": "6.00",
|
450
|
+
"bios_vendor": "Phoenix Technologies LTD",
|
451
|
+
"bios_release_date": "12/12/2018",
|
452
|
+
"augeasversion": "1.12.0",
|
453
|
+
"architecture": "x86_64",
|
454
|
+
"aio_agent_version": "6.12.0"
|
455
|
+
}
|