capchef 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capchef.rb +4 -2
- metadata +53 -69
data/lib/capchef.rb
CHANGED
@@ -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
|
-
|
102
|
-
|
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:
|
5
|
-
|
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:
|
18
|
-
default_executable:
|
13
|
+
date: 2012-05-07 00:00:00 Z
|
19
14
|
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
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
|
70
|
-
- lib/capchef/
|
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
|
-
|
90
|
-
|
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
|
-
|
98
|
-
|
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.
|
88
|
+
rubygems_version: 1.8.9
|
105
89
|
signing_key:
|
106
90
|
specification_version: 3
|
107
91
|
summary: Chef capistrano recipes
|