capchef 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/capchef.rb +4 -2
  2. metadata +53 -69
@@ -98,8 +98,10 @@ module Capchef
98
98
 
99
99
  def all_nodes(filter=nil)
100
100
  return [] if @config_pass && @config_pass > 1
101
- return nodes_config.keys.grep(Regexp.new(filter)) if filter
102
- return nodes_config.keys
101
+ # Select only those nodes with an actual run_list, assume the others are just setting up vars
102
+ nodes = nodes_config.keys.select { |node| nodes_config[node]['run_list'] }
103
+ nodes = nodes.grep(Regexp.new(filter)) if filter
104
+ return nodes
103
105
  end
104
106
 
105
107
  private
metadata CHANGED
@@ -1,64 +1,53 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capchef
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 0
8
- - 9
9
- version: 0.0.9
4
+ prerelease:
5
+ version: 0.0.10
10
6
  platform: ruby
11
7
  authors:
12
- - Brad Pardee
8
+ - Brad Pardee
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-12-13 00:00:00 -05:00
18
- default_executable:
13
+ date: 2012-05-07 00:00:00 Z
19
14
  dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: capistrano
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- version: "0"
31
- type: :runtime
32
- version_requirements: *id001
33
- - !ruby/object:Gem::Dependency
34
- name: json
35
- prerelease: false
36
- requirement: &id002 !ruby/object:Gem::Requirement
37
- none: false
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- segments:
42
- - 0
43
- version: "0"
44
- type: :runtime
45
- version_requirements: *id002
46
- - !ruby/object:Gem::Dependency
47
- name: minitar
48
- prerelease: false
49
- requirement: &id003 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- segments:
55
- - 0
56
- version: "0"
57
- type: :runtime
58
- version_requirements: *id003
15
+ - !ruby/object:Gem::Dependency
16
+ name: capistrano
17
+ prerelease: false
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ type: :runtime
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
+ name: json
28
+ prerelease: false
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: "0"
35
+ type: :runtime
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
38
+ name: archive-tar-minitar
39
+ prerelease: false
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: "0"
46
+ type: :runtime
47
+ version_requirements: *id003
59
48
  description: Chef capistrano recipes so you can configure your machines without a server
60
49
  email:
61
- - bradpardee@gmail.com
50
+ - bradpardee@gmail.com
62
51
  executables: []
63
52
 
64
53
  extensions: []
@@ -66,14 +55,13 @@ extensions: []
66
55
  extra_rdoc_files: []
67
56
 
68
57
  files:
69
- - lib/capchef/chef_recipes.rb
70
- - lib/capchef/utility_recipes.rb
71
- - lib/capchef.rb
72
- - LICENSE.txt
73
- - Rakefile
74
- - README.md
75
- - History.md
76
- has_rdoc: true
58
+ - lib/capchef.rb
59
+ - lib/capchef/chef_recipes.rb
60
+ - lib/capchef/utility_recipes.rb
61
+ - LICENSE.txt
62
+ - Rakefile
63
+ - README.md
64
+ - History.md
77
65
  homepage: http://github.com/ClarityServices/capchef
78
66
  licenses: []
79
67
 
@@ -81,27 +69,23 @@ post_install_message:
81
69
  rdoc_options: []
82
70
 
83
71
  require_paths:
84
- - lib
72
+ - lib
85
73
  required_ruby_version: !ruby/object:Gem::Requirement
86
74
  none: false
87
75
  requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- segments:
91
- - 0
92
- version: "0"
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: "0"
93
79
  required_rubygems_version: !ruby/object:Gem::Requirement
94
80
  none: false
95
81
  requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- segments:
99
- - 0
100
- version: "0"
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: "0"
101
85
  requirements: []
102
86
 
103
87
  rubyforge_project:
104
- rubygems_version: 1.3.7
88
+ rubygems_version: 1.8.9
105
89
  signing_key:
106
90
  specification_version: 3
107
91
  summary: Chef capistrano recipes