Skip to content

Instantly share code, notes, and snippets.

@kjetilho
Created April 5, 2018 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kjetilho/cf0ec1b2d10b0a09ef96a61797b6ca35 to your computer and use it in GitHub Desktop.
Save kjetilho/cf0ec1b2d10b0a09ef96a61797b6ca35 to your computer and use it in GitHub Desktop.
rspec error
1) baseconfig::filebeat on ubuntu-14.04-x86_64 should compile into a catalogue without dependency cycles
Failure/Error: it { should compile.with_all_deps }
RuntimeError:
Could not find the daemon directory (tested [/etc/sv,/var/lib/service])
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/provider/service/runit.rb:50:in `defpath'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/type/service.rb:180:in `block (3 levels) in <module:Puppet>'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/type.rb:834:in `set_default'
# /var/lib/gems/2.3.0/gems/rspec-puppet-2.6.11/lib/rspec-puppet/monkey_patches.rb:86:in `call'
# /var/lib/gems/2.3.0/gems/rspec-puppet-2.6.11/lib/rspec-puppet/monkey_patches.rb:86:in `block in <class:Type>'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/type.rb:2497:in `block in set_parameters'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/type.rb:2496:in `each'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/type.rb:2496:in `set_parameters'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/type.rb:2393:in `initialize'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/resource.rb:524:in `new'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/resource.rb:524:in `to_ral'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/resource/catalog.rb:633:in `block in to_catalog'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/resource/catalog.rb:625:in `each'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/resource/catalog.rb:625:in `to_catalog'
# /var/lib/gems/2.3.0/gems/puppet-4.10.10/lib/puppet/resource/catalog.rb:506:in `to_ral'
# /var/lib/gems/2.3.0/gems/rspec-puppet-2.6.11/lib/rspec-puppet/matchers/compile.rb:142:in `cycles_found?'
# /var/lib/gems/2.3.0/gems/rspec-puppet-2.6.11/lib/rspec-puppet/matchers/compile.rb:25:in `matches?'
# ./spec/classes/baseconfig__filebeat_spec.rb:8:in `block (4 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment