leibniz
leibniz copied to clipboard
Is a vagrantfile really needed?
Right after a leibniz init
$ cucumber
cucumberFeature: Learn to use Leibniz
In order to learn how to use Leibniz
As an infrastructure developer
I want to be able to have a skeleton feature
Background: # features/learning_leibniz.feature:7
Given I have provisioned the following infrastructure: # features/step_definitions/learning_steps.rb:1
| Server Name | Operating System | Version | Chef Version | Run List |
| learning | centos | 6.4 | 11.8.0 | learning::default |
[sudo] password for masterkorp:
And I have run Chef # features/step_definitions/learning_steps.rb:5
Failed to complete #create action: [Expected process to exit with [0], but received '1'
---- Begin output of sudo vagrant up --no-provision ----
STDOUT:
STDERR: A Vagrant environment is required to run this command. Run `vagrant init`
to set one up in this directory, or change to a directory with a
Vagrantfile and try again.
---- End output of sudo vagrant up --no-provision ----
Ran sudo vagrant up --no-provision returned 1] (Kitchen::ActionFailed)
./features/step_definitions/learning_steps.rb:7:in `/^I have run Chef$/'
features/learning_leibniz.feature:12:in `And I have run Chef'
Scenario: Infrastructure developer can learn Leibniz # features/learning_leibniz.feature:14
pending
Failing Scenarios:
cucumber features/learning_leibniz.feature:14 # Scenario: Infrastructure developer can learn Leibniz
pending
1 scenario (1 failed)
2 steps (1 failed, 1 passed)
Isn't supposed test-kitchen deal with this ?