On a host where nagios_pci_megaraid_sas => true and nvme disks are present, the following error occurs:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Nagios::Check::Ssd] is already declared at (file: /etc/puppetlabs/code/environments/production/modules/nagios/manifests/client.pp, line: 160); cannot redeclare (file: /etc/puppetlabs/code/environments/production/modules/nagios/manifests/client.pp, line: 162) (file: /etc/puppetlabs/code/environments/production/modules/nagios/manifests/client.pp, line: 162, column: 46) on node is03.riskiq
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
On a host where
nagios_pci_megaraid_sas => true
and nvme disks are present, the following error occurs:Disk info from facter
I submitted a PR to fix, where we switch from declaring the class to including it.