Hmmm. I'm pretty sure the puppelabs_spec_helper gave me a beaker target....




Brett
Sent from my iPhone 


On Oct 7, 2014, at 15:15, Ken Barber <[email protected]> wrote:

>> Nice.  I'll look out for your packer project.  I've been using it to build
>> our vagrant boxes, but haven't yet built any for vSphere or external cloud.
> 
> Its not my project, its a private project we have. So I can't speak
> around if we'll release it or not - just to be clear :-).
> 
>> I'm getting this error:
>> ruby/2.1.0/gems/aws-sdk-1.42.0/lib/aws/core/resource.rb:238:in `rescue in
>> block in define_attribute_getter': unable to find the image
>> (AWS::Core::Resource::NotFound)
>> 
>> Are your AMI's public?
>> Gist:
>> https://gist.github.com/brettswift/176b802bfe31dae369e9
> 
> I would presume not? Honestly, I would look into creating your own
> most probably. Not because they don't work, just that you could
> probably do a better quality job and then own the process yourself.
> Start with a good basis, like the endorsed Centos AMI's for example:
> 
> http://wiki.centos.org/Cloud/AWS
> 
> Then apply the necessary customisations on top with packer using the
> amazon-ebs builder as a good 'entry level' way of doing it:
> http://www.packer.io/docs/builders/amazon-ebs.html
> 
>> Using your sample project, if I include the puppetlabs_spec_helper in the
>> Gemfile, it doesn't error but completes rather quickly saying there are no
>> tests (obviously).   But it doesn't bawk on any ec2 configuration.
> 
> So puppetlabs_spec_helper assists with the unit testing side of things
> and has nothing directly to do with beaker, so look into rspec-puppet
> for the long story around that. puppetlabs_spec_helper provides a
> number of utilities and helps bridge the testing parts with various
> different versions of puppet basically, but the main piece of work
> that users should focus on is rspec-puppet.
> 
> Basically from a user perspective the helper gives you a rake task:
> `rake spec` and a file like so:
> https://github.com/puppetlabs/puppetlabs-puppetdb/blob/master/.fixtures.yml
> that will help you automatically retrieve the other modules your
> module depends on during testing time. As opposed to just running
> `rspec spec/unit` for example. So yeah, chalk and cheese ...
> 
> ken.
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Puppet Users" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/puppet-users/AzcyYneW820/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/CAE4bNTnCuq80Zj%2ByuzNQcqUErz7viufhhdPHsHpyicQkNkKqTg%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/D4E401BC-37FB-4DCC-8682-EF76FD68C300%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to