capchef 0.0.7 → 0.0.8
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/History.md +7 -0
- data/README.md +5 -0
- data/lib/capchef/chef_recipes.rb +4 -1
- metadata +10 -20
data/History.md
ADDED
data/README.md
CHANGED
|
@@ -68,6 +68,11 @@ Then you can install to your hosts with the following command:
|
|
|
68
68
|
|
|
69
69
|
cap chef
|
|
70
70
|
|
|
71
|
+
## To Do
|
|
72
|
+
|
|
73
|
+
Currently all recipes get rerun whenever you perform a 'cap chef'. I could probably get around this with an option to
|
|
74
|
+
tar to maintain modification times when extracting the cookbook files.
|
|
75
|
+
|
|
71
76
|
## Author
|
|
72
77
|
|
|
73
78
|
Brad Pardee :: bradpardee@gmail.com
|
data/lib/capchef/chef_recipes.rb
CHANGED
|
@@ -50,7 +50,10 @@ Capistrano::Configuration.instance.load do
|
|
|
50
50
|
exit 1
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
solo_rb = "file_cache_path '/etc/chef'\ncookbook_path '/etc/chef/cookbooks'\nrole_path '/etc/chef/roles'\
|
|
53
|
+
solo_rb = "file_cache_path '/etc/chef'\ncookbook_path '/etc/chef/cookbooks'\nrole_path '/etc/chef/roles'\n"
|
|
54
|
+
['http_proxy', 'https_proxy', 'http_proxy_user', 'http_proxy_pass'].each do |env_name|
|
|
55
|
+
solo_rb << "#{env_name} ENV['#{env_name}'] if ENV['#{env_name}']\n"
|
|
56
|
+
end
|
|
54
57
|
put solo_rb, remote_solo_file, :hosts => valid_hosts
|
|
55
58
|
begin
|
|
56
59
|
tmp_cookbooks_tgz = Tempfile.new('cookbooks')
|
metadata
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
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
|
-
- 7
|
|
9
|
-
version: 0.0.7
|
|
4
|
+
prerelease:
|
|
5
|
+
version: 0.0.8
|
|
10
6
|
platform: ruby
|
|
11
7
|
authors:
|
|
12
8
|
- Brad Pardee
|
|
@@ -14,18 +10,16 @@ autorequire:
|
|
|
14
10
|
bindir: bin
|
|
15
11
|
cert_chain: []
|
|
16
12
|
|
|
17
|
-
date: 2011-
|
|
18
|
-
default_executable:
|
|
13
|
+
date: 2011-11-21 00:00:00 Z
|
|
19
14
|
dependencies:
|
|
20
15
|
- !ruby/object:Gem::Dependency
|
|
21
16
|
name: capistrano
|
|
22
17
|
prerelease: false
|
|
23
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
19
|
+
none: false
|
|
24
20
|
requirements:
|
|
25
21
|
- - ">="
|
|
26
22
|
- !ruby/object:Gem::Version
|
|
27
|
-
segments:
|
|
28
|
-
- 0
|
|
29
23
|
version: "0"
|
|
30
24
|
type: :runtime
|
|
31
25
|
version_requirements: *id001
|
|
@@ -33,11 +27,10 @@ dependencies:
|
|
|
33
27
|
name: json
|
|
34
28
|
prerelease: false
|
|
35
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
30
|
+
none: false
|
|
36
31
|
requirements:
|
|
37
32
|
- - ">="
|
|
38
33
|
- !ruby/object:Gem::Version
|
|
39
|
-
segments:
|
|
40
|
-
- 0
|
|
41
34
|
version: "0"
|
|
42
35
|
type: :runtime
|
|
43
36
|
version_requirements: *id002
|
|
@@ -45,11 +38,10 @@ dependencies:
|
|
|
45
38
|
name: minitar
|
|
46
39
|
prerelease: false
|
|
47
40
|
requirement: &id003 !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
48
42
|
requirements:
|
|
49
43
|
- - ">="
|
|
50
44
|
- !ruby/object:Gem::Version
|
|
51
|
-
segments:
|
|
52
|
-
- 0
|
|
53
45
|
version: "0"
|
|
54
46
|
type: :runtime
|
|
55
47
|
version_requirements: *id003
|
|
@@ -69,7 +61,7 @@ files:
|
|
|
69
61
|
- LICENSE.txt
|
|
70
62
|
- Rakefile
|
|
71
63
|
- README.md
|
|
72
|
-
|
|
64
|
+
- History.md
|
|
73
65
|
homepage: http://github.com/ClarityServices/capchef
|
|
74
66
|
licenses: []
|
|
75
67
|
|
|
@@ -79,23 +71,21 @@ rdoc_options: []
|
|
|
79
71
|
require_paths:
|
|
80
72
|
- lib
|
|
81
73
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
|
+
none: false
|
|
82
75
|
requirements:
|
|
83
76
|
- - ">="
|
|
84
77
|
- !ruby/object:Gem::Version
|
|
85
|
-
segments:
|
|
86
|
-
- 0
|
|
87
78
|
version: "0"
|
|
88
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
|
+
none: false
|
|
89
81
|
requirements:
|
|
90
82
|
- - ">="
|
|
91
83
|
- !ruby/object:Gem::Version
|
|
92
|
-
segments:
|
|
93
|
-
- 0
|
|
94
84
|
version: "0"
|
|
95
85
|
requirements: []
|
|
96
86
|
|
|
97
87
|
rubyforge_project:
|
|
98
|
-
rubygems_version: 1.
|
|
88
|
+
rubygems_version: 1.8.9
|
|
99
89
|
signing_key:
|
|
100
90
|
specification_version: 3
|
|
101
91
|
summary: Chef capistrano recipes
|