X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/4f21b7e35e41f1a7e0d9dc1bf8e82c6ab6df784b..73b9c431e43b14345774cc6a508aa326b45f900c:/cookbooks/web/recipes/base.rb diff --git a/cookbooks/web/recipes/base.rb b/cookbooks/web/recipes/base.rb index 450b35138..29b3ffa43 100644 --- a/cookbooks/web/recipes/base.rb +++ b/cookbooks/web/recipes/base.rb @@ -17,10 +17,12 @@ # limitations under the License. # -node.default[:nfs]["/store/rails"] = { - :host => node[:web][:fileserver], - :path => "/store/rails" -} +unless node[:web][:status] == "gpx_offline" + node.default[:nfs]["/store/rails"] = { + :host => node[:web][:fileserver], + :path => "/store/rails" + } +end include_recipe "accounts" include_recipe "nfs"