app_maint 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AppMaint
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
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 ruby-shadow right_aws --no-ri --no-rdoc"
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 defined? app_node_config
26
- node_config.update( stage_node_config ) if defined? stage_node_config
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.7
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-01-24 00:00:00.000000000 Z
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: 115306283248371607
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: 115306283248371607
122
+ hash: -2139927545633232113
123
123
  requirements: []
124
124
  rubyforge_project:
125
125
  rubygems_version: 1.8.23