right_chimp 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +4 -0
- data/Gemfile.lock +11 -11
- data/lib/right_chimp/Chimp.rb +1 -0
- data/lib/right_chimp/exec/ExecArray.rb +6 -1
- data/lib/right_chimp/exec/Executor.rb +2 -2
- data/lib/right_chimp/version.rb +1 -1
- metadata +2 -2
    
        data/CHANGES
    CHANGED
    
    
    
        data/Gemfile.lock
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            PATH
         | 
| 2 2 | 
             
              remote: .
         | 
| 3 3 | 
             
              specs:
         | 
| 4 | 
            -
                right_chimp (1. | 
| 4 | 
            +
                right_chimp (1.1.1)
         | 
| 5 5 | 
             
                  nokogiri (~> 1.5.9)
         | 
| 6 6 | 
             
                  progressbar (~> 0.11.0)
         | 
| 7 7 | 
             
                  rake (~> 0.9.2.2)
         | 
| @@ -11,23 +11,23 @@ PATH | |
| 11 11 | 
             
            GEM
         | 
| 12 12 | 
             
              remote: https://rubygems.org/
         | 
| 13 13 | 
             
              specs:
         | 
| 14 | 
            -
                activesupport (3.2. | 
| 15 | 
            -
                  i18n ( | 
| 14 | 
            +
                activesupport (3.2.15)
         | 
| 15 | 
            +
                  i18n (~> 0.6, >= 0.6.4)
         | 
| 16 16 | 
             
                  multi_json (~> 1.0)
         | 
| 17 17 | 
             
                diff-lcs (1.1.3)
         | 
| 18 | 
            -
                highline (1.6. | 
| 19 | 
            -
                i18n (0.6. | 
| 20 | 
            -
                json (1.8. | 
| 21 | 
            -
                mime-types ( | 
| 22 | 
            -
                multi_json (1. | 
| 23 | 
            -
                net-ssh (2. | 
| 18 | 
            +
                highline (1.6.20)
         | 
| 19 | 
            +
                i18n (0.6.5)
         | 
| 20 | 
            +
                json (1.8.1)
         | 
| 21 | 
            +
                mime-types (2.0)
         | 
| 22 | 
            +
                multi_json (1.8.2)
         | 
| 23 | 
            +
                net-ssh (2.7.0)
         | 
| 24 24 | 
             
                nokogiri (1.5.10)
         | 
| 25 25 | 
             
                progressbar (0.11.0)
         | 
| 26 26 | 
             
                rake (0.9.2.2)
         | 
| 27 27 | 
             
                rest-client (1.6.7)
         | 
| 28 28 | 
             
                  mime-types (>= 1.16)
         | 
| 29 | 
            -
                rest_connection (1.0. | 
| 30 | 
            -
                  activesupport
         | 
| 29 | 
            +
                rest_connection (1.0.11)
         | 
| 30 | 
            +
                  activesupport (< 4.0.0)
         | 
| 31 31 | 
             
                  highline
         | 
| 32 32 | 
             
                  json
         | 
| 33 33 | 
             
                  net-ssh
         | 
    
        data/lib/right_chimp/Chimp.rb
    CHANGED
    
    
| @@ -8,11 +8,16 @@ module Chimp | |
| 8 8 | 
             
                    audit_entry = []
         | 
| 9 9 | 
             
                    options = @inputs
         | 
| 10 10 |  | 
| 11 | 
            +
                    if @timeout < 300
         | 
| 12 | 
            +
                      Log.error "timeout was less than 5 minutes! resetting to 5 minutes"
         | 
| 13 | 
            +
                      @timeout = 300
         | 
| 14 | 
            +
                    end
         | 
| 15 | 
            +
             | 
| 11 16 | 
             
                    audit_entry = @array.run_script_on_instances(@exec, @server['href'], options)
         | 
| 12 17 |  | 
| 13 18 | 
             
                    if audit_entry
         | 
| 14 19 | 
             
                      audit_entry.each do |a|
         | 
| 15 | 
            -
                        a.wait_for_completed
         | 
| 20 | 
            +
                        a.wait_for_completed("no audit link available",@timeout)
         | 
| 16 21 | 
             
                      end
         | 
| 17 22 | 
             
                    else
         | 
| 18 23 | 
             
                      Log.warn "No audit entries returned for job_id=#{@job_id}"
         | 
| @@ -6,9 +6,9 @@ module Chimp | |
| 6 6 | 
             
              class Executor
         | 
| 7 7 | 
             
                attr_accessor :server, :array, :exec, :inputs, :template, :owner, :group,
         | 
| 8 8 | 
             
                              :job_id, :status, :dry_run, :verbose, :quiet, :timeout,
         | 
| 9 | 
            -
                              :retry_count, :retry_sleep, :time_start, :time_end
         | 
| 9 | 
            +
                              :retry_count, :retry_sleep, :time_start, :time_end, :error
         | 
| 10 10 |  | 
| 11 | 
            -
                attr_reader   : | 
| 11 | 
            +
                attr_reader   :results
         | 
| 12 12 |  | 
| 13 13 | 
             
                STATUS_NONE =     :none
         | 
| 14 14 | 
             
                STATUS_HOLDING =  :holding
         | 
    
        data/lib/right_chimp/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: right_chimp
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.1. | 
| 4 | 
            +
              version: 1.1.1
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -9,7 +9,7 @@ authors: | |
| 9 9 | 
             
            autorequire: 
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
            date: 2013-11- | 
| 12 | 
            +
            date: 2013-11-19 00:00:00.000000000 Z
         | 
| 13 13 | 
             
            dependencies:
         | 
| 14 14 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 15 15 | 
             
              name: rest_connection
         |