Sha256: 89d0a4e2238c73940bbabd32240edf83e93726840be9b45798ebc18fb7d1f52b
Contents?: true
Size: 696 Bytes
Versions: 1
Compression:
Stored size: 696 Bytes
Contents
require "oj" require 'time' require "mixlib/authentication" require "mixlib/authentication/signedheaderauth" require 'digest/sha1' require 'openssl' require 'net/http' require "lambom/shell_mixin" require "lambom/config" require "lambom/api" require "lambom/converger" module Lambom $debug = false class << self def run(argv) puts "DEBUG ENABLED" if $debug puts "Recived args: #{argv.inspect}" if $debug raise 'Must be run as root' unless Process.uid == 0 #cargar config conf = Lambom::Config.new.load(argv) # executar converxencia Lambom::Converger.new(conf).run end def enable_debug $debug = true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lambom-0.4.8 | lib/lambom.rb |