Sorry, did not have a chance to look at puppet gho...
# puppet
r
Sorry, did not have a chance to look at puppet ghostbuster this week as i had a family emergency. I’m trying it now on a different puppet server. It’s puppet 8 (not in production) that i configured and it has repo available.
echo $HIERA_YAML_PATH
/etc/puppetlabs/code/environments/master/hiera.yaml
$ echo $PUPPETDB_URL
https://puppet8.myserver:8081
$ gem list |grep puppet
puppet-ghostbuster (2.0.0)
puppet-lint (5.1.0)
puppet-resource_api (1.9.0)
puppet_forge (6.0.0)
puppetdb-ruby (1.2.0)
semantic_puppet (1.1.1)
$ which gem
/opt/puppetlabs/puppet/bin/gem
$ which puppet
/opt/puppetlabs/bin/puppet
find . -type f -exec puppet-lint --only-checks ghostbuster_classes,ghostbuster_defines,ghostbuster_files,ghostbuster_hiera_files,ghostbuster_templates {} \+
Runs for a good chunk of time, but produces no results. I’m sure we have dead code.