]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/frontend.rb
iRun memcached on locahost if there is no internal address
[chef.git] / cookbooks / web / recipes / frontend.rb
index cb712d458a5e2c82ccc3050a3836c9abee9a2abb..4fa375fba70020f3420546c3aa15cbd98c9d0650 100644 (file)
@@ -17,6 +17,9 @@
 # limitations under the License.
 #
 
+node.default[:memcached][:ip_address] = node.internal_ipaddress || "127.0.0.1"
+
+include_recipe "memcached"
 include_recipe "apache"
 include_recipe "web::rails"
 include_recipe "web::cgimap"