Memcached : removing duplicate code

parent 82e0f536
...@@ -48,12 +48,6 @@ class Recipe(BaseSlapRecipe): ...@@ -48,12 +48,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'],
certificate, key, ca_conf['ca_crl'], certificate, key, ca_conf['ca_crl'],
......
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