Today while running the decom cookbook for archiva1001 I had this interesting output:
Looking for matches in puppetmaster1001.eqiad.wmnet:/var/lib/git/operations/puppet hieradata/common/lvs/interfaces.yaml: 'lvs1013': 'enp4s0f1:208.80.154.167' hieradata/common/lvs/interfaces.yaml: 'lvs1014': 'enp4s0f0:208.80.154.168' hieradata/common/lvs/interfaces.yaml: 'lvs1015': 'enp4s0f1:208.80.154.169' hieradata/role/eqiad/wmcs/openstack/eqiad1/labweb.yaml: host: 208.80.154.160 hieradata/role/eqiad/wmcs/openstack/eqiad1/labweb.yaml: host: 208.80.154.160 modules/role/templates/mariadb/grants/production-m5.sql.erb:GRANT SELECT, INSERT, UPDATE, DELETE ON striker.* TO 'striker'@'208.80.154.160' modules/role/templates/mariadb/grants/production-m5.sql.erb:GRANT ALL ON striker.* TO 'striker_admin'@'208.80.154.160' modules/role/templates/mariadb/grants/production-m5.sql.erb:GRANT ALL ON `labswiki`.* TO 'wikiadmin'@'208.80.154.160' modules/role/templates/mariadb/grants/production-m5.sql.erb:GRANT DELETE, INSERT, SELECT, UPDATE ON `labswiki`.* TO 'wikiuser'@'208.80.154.160' Looking for matches in puppetmaster1001.eqiad.wmnet:/srv/private Looking for matches in deploy1001.eqiad.wmnet:/srv/mediawiki-staging Found match(es) in the Puppet or mediawiki-config repositories (see above), proceed anyway?
That was really confusing at first, but then I realized that archiva1001's IP was 208.80.154.16, and in the cookbook it seems that we do a simple grep $ip that may match multiple things.
The above list also didn't match a hiera host override, archiva1001.yaml. Not the end of the world but it would be great to add a check for it :)