arnoudj / puppet-sudo

Puppet module to manage sudoers.
8 stars 23 forks source link

Fixes Ubuntu image failing during Beaker tests #42

Closed href closed 8 years ago

href commented 8 years ago

Running the acceptance tests I ran into the following error:

ubuntu-server-12042-x64 10:05:52$ wget -O /tmp/puppet.deb http://apt.puppetlabs.com/puppetlabs-release-.deb --2016-05-10 08:05:51-- http://apt.puppetlabs.com/puppetlabs-release-.deb Resolving apt.puppetlabs.com (apt.puppetlabs.com)... 192.155.89.90, 2600:3c03::f03c:91ff:fedb:6b1d Connecting to apt.puppetlabs.com (apt.puppetlabs.com)|192.155.89.90|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2016-05-10 08:05:51 ERROR 404: Not Found.

Which lead me to this post: https://groups.google.com/forum/#!topic/puppet-users/A7UrwTRCzsU

Assuming it worked before I'm guessing this issue was introduced with some more recent Beaker release. In any case, looking at the Beaker source indicates that ubuntu-server-12.04-amd64 should indeed be ubuntu-12.04-amd64.

With this change, the tests pass for me using Beaker 2.40.

petems commented 8 years ago

@arnoudj Can you merge this one? It's a quick fix for Beaker changes