puppet: Only use those "modern" options when on xenial.

On trusty, we of course have an older version -- 1.4.14 -- and it is
not so modern, so this just gives an error.
This commit is contained in:
Greg Price 2018-02-08 18:10:14 -08:00
parent 3853577486
commit 7df29e7a7c
1 changed files with 2 additions and 0 deletions

View File

@ -34,8 +34,10 @@ logfile /var/log/memcached.log
# it's listening on a firewalled interface.
-l 127.0.0.1
<% if scope["zulip::base::release_name"] == "xenial" -%>
# Use "modern" features.
-o slab_reassign,slab_automove,lru_crawler,lru_maintainer,maxconns_fast,hash_algorithm=murmur3
<% end -%>
# Limit the number of simultaneous incoming connections. The daemon default is 1024
# -c 1024