nwops / puppet-retrospec

The only tool you need to generate puppet code, tests, modules, facts, types, providers, data and everything else.
https://www.retrospec-puppet.com/
GNU Affero General Public License v3.0
137 stars 27 forks source link

Consider installing modules in beaker spec helper #16

Open danieldreier opened 9 years ago

danieldreier commented 9 years ago

In: https://github.com/logicminds/puppet-retrospec/blob/master/lib/retrospec/templates/module_files/spec/spec_helper_acceptance.rb#L30

you'll probably want to install all the puppet module dependencies listed in the metadata.json.

logicminds commented 9 years ago

I have recently added a feature to beaker that allows one to rsync all of the fixtures over. So I'll update the spec_helper to use this new feature.

danieldreier commented 9 years ago

Awesome! Thanks!

logicminds commented 9 years ago

@danieldreier Here is the bit to use rsync and the fixtures directory. https://github.com/nwops/retrospec-templates/blob/develop/module_files/spec/spec_helper_acceptance.rb.retrospec.erb#L33

I have not merged the update to master but if you want to try that out. Since I don't use a lot of beaker, you might be a better person to test this.