On Tue, Feb 16, 2016 at 11:00 AM, Brett Swift <brettsw...@gmail.com> wrote:

> It's the spec_prep that is failing,  so even bundle exec spec won't work.
>

Just an FYI: the spec* rake tasks are controlling and setting up lower
level unit tests using "rspec-puppet"[1] while the task to run acceptance
tests with beaker-rspec is called `rake beaker`. Try a `bundle exec rake
-T` to see a list of valid commands and a brief description about them.

1. www.rspec-puppet.com

>
>
>  $bundle exec rake spec
> Notice: Preparing to install into /Users/bswift/src/live_modules/
> shaw_firewall/spec/fixtures/modules ...
> Notice: Downloading from https://forgeapi.puppetlabs.com ...
> Notice: Installing -- do not interrupt ...
> Error: Operation not permitted @ chown_internal - /Users/bswift/.
> puppetlabs/opt/puppet/cache/puppet-module/cache/puppetlabs-
> firewall20160216-34040-1efvb4v
>

>From the stacktrace it looks like you've got a permissions issue. I would
suggest pointing rspec-puppet questions towards the general puppet-users
list however.



>
> Error: Try 'puppet help module install' for usage
> rake aborted!
> Failed to install module puppetlabs/firewall to spec/fixtures/modules/
> firewall
> /Users/bswift/src/live_modules/shaw_firewall/.bundle/ruby/2.1.0/gems/
> puppetlabs_spec_helper-1.0.1/lib/puppetlabs_spec_helper/rake_tasks.rb:157:
> in `block (2 levels) in <top (required)>'
> /Users/bswift/src/live_modules/shaw_firewall/.bundle/ruby/2.1.0/gems/puppetlabs_spec_helper-1.0.1/lib/puppetlabs_spec_helper/rake_tasks.rb:139:in
> `each'
> /Users/bswift/src/live_modules/shaw_firewall/.bundle/ruby/2.1.0/gems/puppetlabs_spec_helper-1.0.1/lib/puppetlabs_spec_helper/rake_tasks.rb:139:in
> `block in <top (required)>'
> Tasks: TOP => beaker => spec_prep
>
>
> Gemfile:
>
>
> source 'https://rubygems.org'
>
>
> if puppetversion = ENV['PUPPET_GEM_VERSION']
>     gem 'puppet', puppetversion, :require => false
> else
>     gem 'puppet', :require => false
> end
>
>
> group  :development, :test do
>   gem 'rake',                    :require => false
>   gem 'puppet-lint', '1.0.1',    :require => false
>   gem 'rspec-puppet',            :require => false  # :git => '
> https://github.com/rodjek/rspec-puppet.git', --> used to need this?
>   gem 'puppet-syntax',           :require => false
>   gem 'puppetlabs_spec_helper',  :require => false
>   gem 'mocha',                   :require => false #  '1.0',  1.1 causes
> problems.Removing this dependency releases mocha to 1.1, which can happen
> eventually
>   gem 'beaker',                  :require => false
>   gem 'beaker-rspec',            :require => false
>   gem 'vagrant-wrapper',         :require => false
>   gem 'guard-rake',              :require => false
>   gem 'growl',                   :require => false
>
>
>   gem 'beaker-puppet_install_helper',  :require => false
>   gem 'master_manipulator',            :require => false
>   gem 'serverspec',                    :require => false
>
>
> end
>
>
> The above error was when retrieving module dependencies as listed in your
.fixtures.yml


Per comment above, moving to puppet-users@.


HTH,
Justin


>
>
>> --
> You received this message because you are subscribed to the Google Groups
> "puppet beaker" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-beaker+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-bea...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-beaker/920e20b7-8e39-45c6-ad5c-1124e9362ad5%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-beaker/920e20b7-8e39-45c6-ad5c-1124e9362ad5%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/CA%2B%3DBEqVC9taNpCcTSgMzqgwebiBtWswW4rF08pof%2B7T5ujW_DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to