Memcached : removing duplicate code

parent 7b7bf976
...@@ -47,12 +47,6 @@ class Recipe(BaseSlapRecipe): ...@@ -47,12 +47,6 @@ class Recipe(BaseSlapRecipe):
ca_conf = self.installCertificateAuthority() ca_conf = self.installCertificateAuthority()
key, certificate = self.requestCertificate('Memcached') key, certificate = self.requestCertificate('Memcached')
stunnel_conf = self.installStunnel(
self.getGlobalIPv6Address(), self.getLocalIPv4Address(),
12345, memcached_conf['memcached_port'],
certificate, key, ca_conf['ca_crl'],
ca_conf['certificate_authority_path'])
stunnel_conf = self.installStunnel(self.getGlobalIPv6Address(), stunnel_conf = self.installStunnel(self.getGlobalIPv6Address(),
self.getLocalIPv4Address(), 12345, memcached_conf['memcached_port'], self.getLocalIPv4Address(), 12345, memcached_conf['memcached_port'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment