[Puppet Users] Beaker Platforms?

2015-11-19 Thread Peter Berghold
I have a beaker hosts file that looks like this:

HOSTS:
  debian-8:
platform: debian/jessie
image: debian:8
hypervisor: docker
CONFIG:
  type: foss

when I run beaker --hosts it chokes on every permutation of debian platform
designation I can think of with this sort of error message:

/var/lib/gems/1.9.1/gems/beaker-2.29.0/lib/beaker/platform.rb:64:in
`initialize': Unsupported platform name debian:jessie (ArgumentError)

So the question I have is if I want to designate debian 8.x as my platform,
what the heck do I put there?


Thanks in advance.

-- 
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/CAArvnv0B2V8JOrrvu1fZrhcXgp9_VaHDr6hgo7cobeLdAsvBkg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Beaker Platforms?

2015-11-19 Thread Rich Burroughs
I think you need a dash in there, not a slash, like:

debian-jessie

The code is here:

https://github.com/puppetlabs/beaker/blob/master/lib/beaker/platform.rb

One thing that can help with Beaker stuff is looking at examples like the
modules in the puppetlabs space.


Rich

On Thu, Nov 19, 2015 at 11:58 AM Peter Berghold 
wrote:

> I have a beaker hosts file that looks like this:
>
> HOSTS:
>   debian-8:
> platform: debian/jessie
> image: debian:8
> hypervisor: docker
> CONFIG:
>   type: foss
>
> when I run beaker --hosts it chokes on every permutation of debian
> platform designation I can think of with this sort of error message:
>
> /var/lib/gems/1.9.1/gems/beaker-2.29.0/lib/beaker/platform.rb:64:in
> `initialize': Unsupported platform name debian:jessie (ArgumentError)
>
> So the question I have is if I want to designate debian 8.x as my
> platform, what the heck do I put there?
>
>
> Thanks in advance.
>
> --
> 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/CAArvnv0B2V8JOrrvu1fZrhcXgp9_VaHDr6hgo7cobeLdAsvBkg%40mail.gmail.com
> 
> .
> 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/CAPGcbtCrz7xdcgmwLA7neBJ%3DNHNCm4hUjRYF3xa-mB4Z5d%2ByPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.