summaryrefslogtreecommitdiffstats
path: root/roles/pkgdb2/templates
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2014-11-20 19:02:23 +0100
committerPierre-Yves Chibon <pingou@pingoured.fr>2014-11-20 19:03:43 +0100
commiteaa54cf0225539b59cae4123031281b5872260de (patch)
treec7d0d1175fdd5a35dd967ad12f0f5f266a19ff6a /roles/pkgdb2/templates
parent201bc699f15ad3fbaf48cb5e9dcd43e6525260f4 (diff)
downloadansible-eaa54cf0225539b59cae4123031281b5872260de.tar.gz
ansible-eaa54cf0225539b59cae4123031281b5872260de.tar.xz
ansible-eaa54cf0225539b59cae4123031281b5872260de.zip
Update pkgdb2's configuration of dogpile
Make it so that pkgdb2 relies on both memcached servers and that the difference wsgi proccesses it happily live together. Thanks to Ralph Bean for getting the configuration correct
Diffstat (limited to 'roles/pkgdb2/templates')
-rw-r--r--roles/pkgdb2/templates/pkgdb2.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/pkgdb2/templates/pkgdb2.cfg b/roles/pkgdb2/templates/pkgdb2.cfg
index 828d41d7c..cd8e862dd 100644
--- a/roles/pkgdb2/templates/pkgdb2.cfg
+++ b/roles/pkgdb2/templates/pkgdb2.cfg
@@ -29,7 +29,8 @@ ADMIN_GROUP = ['sysadmin-main', 'cvsadmin']
PKGDB2_CACHE_BACKEND = 'dogpile.cache.memcached'
PKGDB2_CACHE_KWARGS = {
'arguments': {
- 'url': "127.0.0.1:11211",
+ 'url': ["memcached01:11211", "memcached02:11211"],
+ 'distributed_lock': True,
}
}