I think this is the problem:
>    platform: ubuntu-server-14.04-amd64

platform gets split into 3:
@variant, version, @arch = self.split('-', 3)
>From that you get:
["ubuntu", "server", "14.04-amd64"]
When it tries to evaluate the hash it has of platform version codes using
version ('server') it gets back nil. It's expecting something like '14.04'
there instead.

tldr: Your platform string probably shouldn't have '-server' in it.

On Tue, Dec 1, 2015 at 12:26 PM Danny Roberts <
dannyroberts.perso...@googlemail.com> wrote:

> When running acceptance tests with an Ubuntu box with the following config:
>
> HOSTS:
>   ubuntu-server-1404-x64:
>     roles:
>       - master
>     platform: ubuntu-server-14.04-amd64
>     box: puppetlabs/ubuntu-14.04-64-nocm
>     hypervisor: vagrant
>
> CONFIG:
>   log_level: verbose
>   type: foss
>
> The box spins up and does much of the setup but always fails here:
>
> ubuntu-server-1404-x64 20:11:30$ wget -O /tmp/puppet.deb
> http://apt.puppetlabs.com/puppetlabs-release-.deb
>   --2015-12-01 12:11:29--
> 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
>   2015-12-01 12:11:29 ERROR 404: Not Found.
>
> For some reason even switching up the box used it always fails to get the
> release name and complete the URL property. Any idea why this is missing?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/3d8bad03-3e5b-494b-823d-a40e136c442f%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/3d8bad03-3e5b-494b-823d-a40e136c442f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAAqoMCYkAA435bj1Zh4%2Bi%3D4d6500KfZofbXccunnDXVPV6V%2BAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to