Tracking this issue here so it doesn't get lost, I've ran into puppet compiler failing with
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1134:in `issue_deprecation_warning') Warning: The use of 'import' is deprecated at /mnt/jenkins-workspace/puppet-compiler/4582/change/src/manifests/site.pp:9. See http://links.puppetlabs.com/puppet-import-deprecation (at /usr/lib/ruby/vendor_ruby/puppet/parser/parser_support.rb:110:in `import') Warning: You cannot collect without storeconfigs being set on line 80 in file /mnt/jenkins-workspace/puppet-compiler/4582/change/src/modules/ssh/manifests/server.pp Warning: You cannot collect without storeconfigs being set on line 25 in file /mnt/jenkins-workspace/puppet-compiler/4582/change/src/modules/ganglia/manifests/monitor.pp Warning: You cannot collect without storeconfigs being set on line 80 in file /mnt/jenkins-workspace/puppet-compiler/4582/change/src/modules/bacula/manifests/client.pp Warning: You cannot collect without storeconfigs being set on line 44 in file /mnt/jenkins-workspace/puppet-compiler/4582/change/src/modules/bacula/manifests/client/job.pp Error: Could not run: cannot load such file -- puppet/util/puppetdb
when trying to compile changes that use puppetdb (case in point, role::prometheus::ops). IIRC @Joe took a look and it is related to different the different way puppet behaves when standalone vs master