Sha256: dcc627b68016dcdff47c56b3550d2b91fde19fa5afe9568dc94a054c8b9854ad

Contents?: true

Size: 487 Bytes

Versions: 4

Compression:

Stored size: 487 Bytes

Contents

require 'chef/mash'

module Vagabond
  BASE_TEMPLATES = File.readlines(
    File.join(File.dirname(__FILE__), 'cookbooks/vagabond/attributes/default.rb')
  ).map do |l|
    l.scan(%r{bases\]\[:([^\]]+)\]}).flatten.first
  end.compact.uniq

  COLORS = Mash.new(
    :success => :green,
    :create => :green,
    :setup => :blue,
    :error => :red,
    :failed => :red,
    :verified => :yellow,
    :converged => :magenta,
    :destroyed => :red,
    :kitchen => [:cyan, :bold]
  )
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagabond-0.2.8 lib/vagabond/constants.rb
vagabond-0.2.6 lib/vagabond/constants.rb
vagabond-0.2.4 lib/vagabond/constants.rb
vagabond-0.2.2 lib/vagabond/constants.rb