Sha256: fa881a976ea43d9a2cb0736c5b6e2cbd17bac9f2e458317076f9d154a1a2f86a

Contents?: true

Size: 473 Bytes

Versions: 9

Compression:

Stored size: 473 Bytes

Contents

#!/usr/bin/env ruby
require "runbook"

runbook = Runbook.book "Example Layout Book" do
  description <<-DESC
This is a runbook for playing with the layout statement
  DESC

  layout [[
    [:runbook, :deploy],
    [:monitor_1, :monitor_2, :monitor_3],
  ]]

  section "Layout Testing" do
    step do
      tmux_command "echo 'Layouts Rock!'", :deploy
      note "Layouts are cool!"
    end
  end
end

if __FILE__ == $0
  Runbook::Runner.new(runbook).run
else
  runbook
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
careacademy-runbook-1.2.0 examples/layout_runbook.rb
runbook-1.1.0 examples/layout_runbook.rb
runbook-1.0.0 examples/layout_runbook.rb
runbook-0.16.1 examples/layout_runbook.rb
runbook-0.16.0 examples/layout_runbook.rb
runbook-0.15.0 samples/layout_runbook.rb
runbook-0.14.0 samples/layout_runbook.rb
runbook-0.13.0 samples/layout_runbook.rb
runbook-0.12.1 samples/layout_runbook.rb