> I've seen how the puppetdb module uses ec2 to execute beaker tests. I've > tried setting this up as well and am getting some errors. > > Is there a working example of using the different hypervisors? > > I see this: > https://github.com/puppetlabs/beaker/wiki/Creating-A-Test-Environment#ec2-support > but the documentation doesn't suggest it's a polished feature :) > > It might be helpful to document a project that has an example of all the > hypervisors, as each one will have different required / optional parameters > in the nodeset configuration file. > > Indented below is the error when running `beaker --hosts > spec/acceptance/nodesets/ec2-west-el6-64mda-el6-64a.cfg` - I pulled that > example from the puppetdb project, and as per the documentation have a .fog > file set up.. I was hoping to get an authentication or configuration error > on first run. > > Beaker::Hypervisor, found some ec2 boxes to create > Failed: errored in CLI.provision > #<TypeError: no implicit conversion of Symbol into Integer> > /Projects/live_modules/puppet-shawlib/.bundle/ruby/2.1.0/gems/beaker-1.19.1/bin/beaker:6 > /Users/bswift/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15 > /Users/bswift/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15 > > > I don't have much to go on there..
The exception seems a little truncated, is that it? BTW Instead of annotating what has happened in a paragraph, just provide the full example in your shell in a gist or something, it says the message much more simply :-). Sort of like this: https://gist.github.com/kbarber/97f45eba0f922497901a. Or better yet, if you can create a repository with the basics of the above so I can take a look that would be much much easier. I must warn you, the aws_sdk.rb code was written in a massive hurry, and thus has very little error protection so if everything isn't spot on, it might break. ken. -- 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/CAE4bNT%3D9knDc5Ovg3_ws7K_4UifvPV1Djo%3D8FJFsZO3EPLDpjQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.