Skip to content

Instantly share code, notes, and snippets.

@ajroetker
Created December 8, 2014 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajroetker/c4ffe1b57fcafde0f346 to your computer and use it in GitHub Desktop.
Save ajroetker/c4ffe1b57fcafde0f346 to your computer and use it in GitHub Desktop.
error
#<RuntimeError: PuppetAcceptance::DSL::Helpers.with_puppet_running_on failed (check backtrace for location) because: Host 'debian-7-amd64.vm' exited with 1 running:
env PATH="/usr/bin:/opt/puppet-git-repos/hiera/bin:${PATH}" RUBYLIB="/opt/puppet-git-repos/hiera/lib:/opt/puppet-git-repos/hiera-puppet/lib:${RUBYLIB}" puppet agent --test
Last 10 lines of output were:
Server hostname 'debian-7-amd64.vm' did not match server certificate; expected one of debian-7-amd64.hsd1.or.comcast.net, DNS:debian-7-amd64, DNS:debian-7-amd64.hsd1.or.comcast.net, DNS:puppet
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Server hostname 'debian-7-amd64.vm' did not match server certificate; expected one of debian-7-amd64.hsd1.or.comcast.net, DNS:debian-7-amd64, DNS:debian-7-amd64.hsd1.or.comcast.net, DNS:puppet
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve file metadata for puppet://debian-7-amd64.vm/plugins: Server hostname 'debian-7-amd64.vm' did not match server certificate; expected one of debian-7-amd64.hsd1.or.comcast.net, DNS:debian-7-amd64, DNS:debian-7-amd64.hsd1.or.comcast.net, DNS:puppet
Wrapped exception:
Server hostname 'debian-7-amd64.vm' did not match server certificate; expected one of debian-7-amd64.hsd1.or.comcast.net, DNS:debian-7-amd64, DNS:debian-7-amd64.hsd1.or.comcast.net, DNS:puppet
Error: Could not retrieve catalog from remote server: Server hostname 'debian-7-amd64.vm' did not match server certificate; expected one of debian-7-amd64.hsd1.or.comcast.net, DNS:debian-7-amd64, DNS:debian-7-amd64.hsd1.or.comcast.net, DNS:puppet
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Server hostname 'debian-7-amd64.vm' did not match server certificate; expected one of debian-7-amd64.hsd1.or.comcast.net, DNS:debian-7-amd64, DNS:debian-7-amd64.hsd1.or.comcast.net, DNS:puppet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment