Just wondering if this (picking the IP where memcached is listening) shouldn't be done in the memcached cookbook instead. This sounds much better (especially for the swift use).