Skip to content
This repository was archived by the owner on May 14, 2021. It is now read-only.

Commit ef42285

Browse files
lamont-granquistjtimberman
authored andcommitted
COOK-3360: update for application 3.0.0 cookbook
1 parent 5f7acac commit ef42285

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

metadata.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
77
version "1.1.5"
88

9-
%w{ application unicorn apache2 passenger_apache2 }.each do |cb|
9+
%w{ unicorn apache2 passenger_apache2 }.each do |cb|
1010
depends cb
1111
end
1212

13+
depends "application", "~> 3.0"
1314
depends "runit", "~> 1.0"

resources/memcached.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# limitations under the License.
1818
#
1919

20-
include Chef::Resource::ApplicationBase
20+
include ApplicationCookbook::ResourceBase
2121

2222
attribute :role, :kind_of => [String, NilClass], :default => nil
2323

resources/passenger_apache2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# limitations under the License.
1818
#
1919

20-
include Chef::Resource::ApplicationBase
20+
include ApplicationCookbook::ResourceBase
2121

2222
attribute :server_aliases, :kind_of => [Array, NilClass], :default => nil
2323
# Actually defaults to "#{application.name}.conf.erb", but nil means it wasn't set by the user

resources/rails.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# limitations under the License.
1919
#
2020

21-
include Chef::Resource::ApplicationBase
21+
include ApplicationCookbook::ResourceBase
2222

2323
attribute :database_master_role, :kind_of => [String, NilClass], :default => nil
2424
# Actually defaults to "database.yml.erb", but nil means it wasn't set by the user

resources/unicorn.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# limitations under the License.
1919
#
2020

21-
include Chef::Resource::ApplicationBase
21+
include ApplicationCookbook::ResourceBase
2222

2323
attribute :preload_app, :kind_of => [TrueClass, FalseClass], :default => false
2424
attribute :worker_processes, :kind_of => Integer, :default => [node['cpu']['total'].to_i * 4, 8].min

0 commit comments

Comments
 (0)