]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/oxidized/recipes/default.rb
Standardise on using bundle_config to configure bundler
[chef.git] / cookbooks / oxidized / recipes / default.rb
index fce3126d372673a751aaa51b61a162008ecf7fb0..773a3d7b51181465c125383119eb026dff096dcb 100644 (file)
@@ -130,9 +130,14 @@ git "/var/lib/oxidized/configs.git" do
   group "oxidized"
 end
 
+bundle_config "/opt/oxidized/daemon" do
+  user "oxidized"
+  group "oxidized"
+  settings "deployment" => "true"
+end
+
 bundle_install "/opt/oxidized/daemon" do
   action :nothing
-  options "--deployment"
   user "oxidized"
   group "oxidized"
   notifies :restart, "service[oxidized]"