etoro_utility_mcollective 0.1.0 → 0.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.
@@ -29,6 +29,13 @@ module Etoro
29
29
  @mc = rpcclient(self.class.name.downcase.split('::').last, :chomp => true)
30
30
  @mc.progress = false
31
31
 
32
+ if @config.limit_targets
33
+ @mc.limit_targets = @config.limit_targets
34
+ @mc.limit_method = :random
35
+ end
36
+
37
+ @mc.compound_filter = @config.compound_filter if @mc.compound_filter
38
+
32
39
  log_descriptor = ""
33
40
  if (@config.has_key?(:fact_filter) && @config[:fact_filter].has_key?(:service) && @config[:fact_filter].has_key?(:application)) || (@config.has_key?(:application) && @config.has_key?(:service))
34
41
  if @config.has_key?(:fact_filter)
@@ -1,3 +1,3 @@
1
1
  module EtoroUtilityMcollective
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,43 +1,38 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etoro_utility_mcollective
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Alon Becker
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-11-25 00:00:00.000000000 Z
12
+ date: 2014-02-09 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &10257800 !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: '1.3'
20
22
  type: :development
21
23
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- version: '1.3'
24
+ version_requirements: *10257800
27
25
  - !ruby/object:Gem::Dependency
28
26
  name: rake
29
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &10257240 !ruby/object:Gem::Requirement
28
+ none: false
30
29
  requirements:
31
30
  - - ! '>='
32
31
  - !ruby/object:Gem::Version
33
32
  version: '0'
34
33
  type: :development
35
34
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ! '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
35
+ version_requirements: *10257240
41
36
  description: test
42
37
  email:
43
38
  - alon@etoro.com
@@ -61,26 +56,26 @@ files:
61
56
  homepage: http://www.etoro.com
62
57
  licenses:
63
58
  - MIT
64
- metadata: {}
65
59
  post_install_message:
66
60
  rdoc_options: []
67
61
  require_paths:
68
62
  - lib
69
63
  required_ruby_version: !ruby/object:Gem::Requirement
64
+ none: false
70
65
  requirements:
71
66
  - - ! '>='
72
67
  - !ruby/object:Gem::Version
73
68
  version: '0'
74
69
  required_rubygems_version: !ruby/object:Gem::Requirement
70
+ none: false
75
71
  requirements:
76
72
  - - ! '>='
77
73
  - !ruby/object:Gem::Version
78
74
  version: '0'
79
75
  requirements: []
80
76
  rubyforge_project:
81
- rubygems_version: 2.0.6
77
+ rubygems_version: 1.8.11
82
78
  signing_key:
83
- specification_version: 4
79
+ specification_version: 3
84
80
  summary: test
85
81
  test_files: []
86
- has_rdoc:
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YmE5OWRlYTc4MGZiZjY2ZDZiZWY0NjkyYTYwNGU0MzU5MmUxNTg1YQ==
5
- data.tar.gz: !binary |-
6
- YmIxM2Q4NjRmZjZlYzRkZWVlNmY5YWE1NTE1OThjMzIxZTNiOGZiZA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NzU3MTc0N2QzOTg3YWVhZjRjYjU3Nzc2YTk2YjVhNjRmZDQ0ZTI2OGI0M2Rh
10
- NzBhMzRkNmIyZWVhYWJkZDM5NGE2NTk3ZmRjMGM3OTA2N2NjNDAwNTgwYmE5
11
- NTZiY2EwN2ZkMmFmNTIzMzE4ODBhMzIyNmU3Zjc1NDBmOWQxNzA=
12
- data.tar.gz: !binary |-
13
- Mjg5YTY0M2Y1OTFjNWUwMTBiZjA0NWY1YmM5ZTY4MTZiOTc5ODRhZjVmYTk5
14
- ZGYxYjEzMzM5YmJlMmNhY2JhMTk0YWNmZmFmYjZkMmMyYTg1NzNmNDBiOGY2
15
- NThlMjJlNjg5ZGRjMzViNjAxOTViOWVkMzE4NzlhYjRlZGVmM2E=