]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/db/recipes/base.rb
Fix linting
[chef.git] / cookbooks / db / recipes / base.rb
index 6d6bc8ddc90b7c65c618ec8d2658a0fec662a3a7..ee9d0089f65f13ce799b411def26b481414a9c0a 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: db
+# Cookbook:: db
 # Recipe:: base
 #
-# Copyright 2011, OpenStreetMap Foundation
+# Copyright:: 2011, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -34,14 +34,8 @@ directory "/srv/www.openstreetmap.org" do
   mode 0o2775
 end
 
-ruby_version = if node[:lsb][:release].to_f >= 18.04
-                 "2.5"
-               else
-                 "2.3"
-               end
-
 rails_port "www.openstreetmap.org" do
-  ruby ruby_version
+  ruby "2.5"
   directory "/srv/www.openstreetmap.org/rails"
   user "rails"
   group "rails"