HomePhabricator

PuppetDB report improvements

Authored by Volans on Apr 11 2019, 4:02 PM.

Description

PuppetDB report improvements

  • When checking that all PuppetDB hosts are present in Netbox, check also that they have the correct status, report an error if otherwise.
  • Remove the warnings when hosts in the exclude statuses list are not present in PuppetDB, as this is normal and expected.
  • Exclude any host with a tenant set, without hardcoding the list of tenants.
  • Standardized logging messages.
  • Add test_netbox_vms_in_puppetdb() to verify that all Netbox VMs are indeed present in PuppetDB VMs.

Change-Id: Ic7af4518d36a683d02efc1ab56b3f1d38dc40c26

Details

Committed
VolansApr 11 2019, 5:59 PM
Parents
rOSNE5813774f3812: Minor fixes
Branches
Unknown
Tags
Unknown
ChangeId
Ic7af4518d36a683d02efc1ab56b3f1d38dc40c26