app_maint 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/lib/app_maint/version.rb +1 -1
- data/lib/recipes/base.rb +2 -1
- data/lib/recipes/chef.rb +2 -2
- metadata +4 -4
data/lib/app_maint/version.rb
CHANGED
data/lib/recipes/base.rb
CHANGED
|
@@ -60,7 +60,8 @@ Capistrano::Configuration.instance.load do
|
|
|
60
60
|
"#{sudo} checkinstall --default --pkgname=ruby-#{version}#{patch} --pkgversion=#{version}#{patch} --nodoc 1>/dev/null 2>&1"
|
|
61
61
|
].join( '&&' )
|
|
62
62
|
run "#{sudo} gem install bundler --no-ri --no-rdoc"
|
|
63
|
-
run "#{sudo} gem install chef
|
|
63
|
+
run "#{sudo} gem install chef --version '~> 10.0' --no-ri --no-rdoc"
|
|
64
|
+
run "#{sudo} gem install ruby-shadow right_aws --no-ri --no-rdoc"
|
|
64
65
|
run "#{sudo} gem install server_maint --no-ri --no-rdoc"
|
|
65
66
|
end
|
|
66
67
|
end
|
data/lib/recipes/chef.rb
CHANGED
|
@@ -22,8 +22,8 @@ Capistrano::Configuration.instance.load do
|
|
|
22
22
|
"server_name" => "#{host_name}",
|
|
23
23
|
"run_list" => ["recipe[main]"]
|
|
24
24
|
}
|
|
25
|
-
node_config.update( app_node_config ) if
|
|
26
|
-
node_config.update( stage_node_config ) if
|
|
25
|
+
node_config.update( app_node_config ) if exists? :app_node_config
|
|
26
|
+
node_config.update( stage_node_config ) if exists? :stage_node_config
|
|
27
27
|
put node_config.to_json, "/home/#{user}/chef/#{application}/node.json"
|
|
28
28
|
upload(
|
|
29
29
|
"#{cookbooks}",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: app_maint
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
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-
|
|
12
|
+
date: 2013-02-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
110
110
|
version: '0'
|
|
111
111
|
segments:
|
|
112
112
|
- 0
|
|
113
|
-
hash:
|
|
113
|
+
hash: -2139927545633232113
|
|
114
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
none: false
|
|
116
116
|
requirements:
|
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
119
119
|
version: '0'
|
|
120
120
|
segments:
|
|
121
121
|
- 0
|
|
122
|
-
hash:
|
|
122
|
+
hash: -2139927545633232113
|
|
123
123
|
requirements: []
|
|
124
124
|
rubyforge_project:
|
|
125
125
|
rubygems_version: 1.8.23
|