depends "memcached"
depends "nodejs"
depends "tools"
+depends "nfs"
# limitations under the License.
#
+node.set[:nfs]["/store/rails"] = {
+ :host => node[:web][:fileserver],
+ :path => "/store/rails"
+}
+
+include_recipe "nfs"
+
directory node[:web][:base_directory] do
group "rails"
mode 02775
}
},
:web => {
- :backends => %w(rails4 rails5)
+ :backends => %w(rails4 rails5),
+ :fileserver => "grisu"
}
)
}
},
:web => {
- :backends => %w(rails1 rails2 rails3)
+ :backends => %w(rails1 rails2 rails3),
+ :fileserver => "ironbelly"
}
)
}
}
},
- :nfs => {
- "/store/rails" => { :host => "ironbelly", :path => "/store/rails" }
- },
:passenger => {
:pool_idle_time => 0
},
:readonly_database_host => "db-slave"
}
)
-
-run_list(
- "recipe[nfs]"
-)