Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
BDD tool for infrastructure setup. Use plain english to setup, maintain and document your infrastructure setup
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
.gitignore
Gemfile
README.md
Rakefile
yabloko.gemspec

README.md

Yabloko

BDD tool for infrastructure setup.

Use plain english to setup, maintain and document your infrastructure setup

Feature: Application server

  Scenario: Adding a user for deployment
    When I add group "deployment"
     And I add user "deploy" to "deployment" group
    Then I should be able to switch to "deploy" user

Under the hood yabloko uses chef - you can call resources from step definitions in the same way they are used in traditional recipes. The full list of available resources is available on the corresponding chef wiki page.

Examples of steps:

When /^I add group "([^"]*)"$/ do |group_name|
  group group_name
end

When /^I add user "([^"]*)" to "([^"]*)" group$/ do |user_name, group_name|
  user user_name do
    gid group_name
    supports :manage_home => true
  end
end

All magic happens here.

(Prototype project) © 2012 Igor Afonov

Something went wrong with that request. Please try again.