save_and_open_page
have_button(locator)
def compare_yaml_hash(cf1, cf2, context = []) | |
cf1.each do |key, value| | |
unless cf2.key?(key) | |
puts "Missing key : #{key} in path #{context.join(".")}" | |
next | |
end | |
value2 = cf2[key] | |
if (value.class != value2.class) |
This tutorial guides you through creating your first Vagrant project.
We start with a generic Ubuntu VM, and use the Chef provisioning tool to:
Afterwards, we'll see how easy it is to package our newly provisioned VM
#!/usr/bin/env ruby | |
require 'json' | |
require 'fileutils' | |
include FileUtils | |
# Parses the argument array _args_, according to the pattern _s_, to | |
# retrieve the single character command line options from it. If _s_ is | |
# 'xy:' an option '-x' without an option argument is searched, and an | |
# option '-y foo' with an option argument ('foo'). |