X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/99e00a34031960fa05d332ce803fd095dc9dfcd9..fdb79728f27fd911108928f5103f64a1ddc33ed3:/cookbooks/ruby/resources/bundle_install.rb?ds=sidebyside diff --git a/cookbooks/ruby/resources/bundle_install.rb b/cookbooks/ruby/resources/bundle_install.rb index 897bde5fe..9facccc27 100644 --- a/cookbooks/ruby/resources/bundle_install.rb +++ b/cookbooks/ruby/resources/bundle_install.rb @@ -47,6 +47,9 @@ action_class do end def after_created - subscribes :run, "gem_package[bundler#{node[:ruby][:version]}-1]" - subscribes :run, "gem_package[bundler#{node[:ruby][:version]}-2]" + if node[:ruby][:fullstaq] + subscribes :run, "package[fullstaq-ruby-#{node[:ruby][:version]}-jemalloc]" + else + subscribes :run, "package[ruby-bundler]" + end end