]> git.openstreetmap.org Git - chef.git/commitdiff
Remount NFS space on web servers
authorTom Hughes <tom@compton.nu>
Sun, 5 Jul 2020 16:23:22 +0000 (17:23 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 5 Jul 2020 16:23:50 +0000 (17:23 +0100)
cookbooks/web/recipes/base.rb

index 29b3ffa438aea256979f26a855963766d4183b53..450b35138a75b7cd77935b06efc4b26df7367ecd 100644 (file)
 # limitations under the License.
 #
 
-unless node[:web][:status] == "gpx_offline"
-  node.default[:nfs]["/store/rails"] = {
-    :host => node[:web][:fileserver],
-    :path => "/store/rails"
-  }
-end
+node.default[:nfs]["/store/rails"] = {
+  :host => node[:web][:fileserver],
+  :path => "/store/rails"
+}
 
 include_recipe "accounts"
 include_recipe "nfs"