Skip to content

Instantly share code, notes, and snippets.

On host `beaker2'
Failure/Error: with_puppet_running_on( master ) do
ArgumentError:
wrong number of arguments (1 for 2..3)
1) base profile running puppet code should work with no errors
On host `beaker2'
Failure/Error: with_puppet_running_on(master, :restart_when_done => true) do
TypeError:
no implicit conversion of nil into String
# /home/alex/.rvm/gems/ruby-2.1.5/gems/beaker-2.27.0/lib/beaker/dsl/helpers/puppet_helpers.rb:124:in `basename'
# /home/alex/.rvm/gems/ruby-2.1.5/gems/beaker-2.27.0/lib/beaker/dsl/helpers/puppet_helpers.rb:124:in `with_puppet_running_on'
# ./spec/acceptance/base_spec.rb:9:in `block (3 levels) in <top (required)>'
1) base profile running puppet code should work with no errors
On host `beaker2'
Failure/Error: run_agent_on(agent, :catch_failures => true)
Beaker::Host::CommandFailure:
Host 'beaker2' exited with 1 running:
puppet agent --catch_failures=true
Last 10 lines of output were:
Error: Could not parse application options: invalid option: --catch_failures=true
test2@alex-VirtualBox:~/test$ PUPPET_GEM_VERSION=3.7.5 bundle update
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Using CFPropertyList 2.2.8
Using facter 2.4.4
Using json_pure 1.8.2
Using hiera 1.3.4 (was 2.0.0)
Using puppet 3.7.5 (was 4.1.0)
Using bundler 1.7.6
Your bundle is updated!
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by rsyslog configure 8.4.2, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --prefix=/opt/rsyslog-8.4x --enable-relp=yes --enable-static
## --------- ##
## Platform. ##