Sha256: a67d524822232ac5c76a26408aed515f1fff3f521c1c372895a6dc1a1cb3354c
Contents?: true
Size: 852 Bytes
Versions: 11
Compression:
Stored size: 852 Bytes
Contents
require 'nrser/extras' require_relative './qb/errors' require_relative './qb/version' require_relative './qb/util' require_relative './qb/ansible_module' module QB ROOT = (Pathname.new(__FILE__).dirname + '..').expand_path GEM_ROLES_DIR = ROOT + 'roles' USER_ROLES_DIR = Pathname.new(ENV['HOME']).join '.ansible', 'roles' def self.debug *args return unless ENV['QB_DEBUG'] && args.length > 0 header = 'DEBUG' if args[0].is_a? String header += " " + args.shift end dumpObj = case args.length when 0 header when 1 {header => args[0]} else {header => args} end # $stderr.puts("DEBUG " + format(msg, values)) $stderr.puts dumpObj.pretty_inspect end end # needs QB::*_ROLES_DIR require 'qb/role' require 'qb/options' require_relative './qb/repo'
Version data entries
11 entries across 11 versions & 1 rubygems