From 5db040e8a7d92ac81af47b481633ee8d544abe9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com>
Date: Mon, 6 Jun 2011 14:53:24 +0200
Subject: [PATCH] Mysql : Add stunnel dependency, exposing stunnel bin

---
 software/mysql/instance.cfg | 3 ++-
 software/mysql/software.cfg | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/software/mysql/instance.cfg b/software/mysql/instance.cfg
index d425ada3..75e3b503 100644
--- a/software/mysql/instance.cfg
+++ b/software/mysql/instance.cfg
@@ -14,4 +14,5 @@ mysql_binary = ${mysql-5.1:location}/bin/mysql
 mysql_install_binary = ${mysql-5.1:location}/bin/mysql_install_db
 mysql_upgrade_binary = ${mysql-5.1:location}/bin/mysql_upgrade
 mysqld_binary = ${mysql-5.1:location}/libexec/mysqld
-perl_binary = ${perl:location}/bin/perl
\ No newline at end of file
+perl_binary = ${perl:location}/bin/perl
+stunnel_binary = ${stunnel:location}/bin/stunnel
diff --git a/software/mysql/software.cfg b/software/mysql/software.cfg
index e2a3ebd8..1cfe90d2 100644
--- a/software/mysql/software.cfg
+++ b/software/mysql/software.cfg
@@ -16,6 +16,7 @@ extends =
   ../../component/mysql-5.1/buildout.cfg
   ../../component/dcron/buildout.cfg
   ../../component/logrotate/buildout.cfg
+  ../../component/stunnel/buildout.cfg
   ../../component/python-2.7/buildout.cfg
   ../../component/perl/buildout.cfg
   ../../component/xtrabackup/buildout.cfg
@@ -56,7 +57,7 @@ eggs = ${instance-recipe:egg}
 # Default template for the instance.
 recipe = slapos.recipe.template
 url = ${:_profile_base_location_}/instance.cfg
-md5sum = f5e422ac5982fe9339d2beb5fecd5926
+#md5sum = f5e422ac5982fe9339d2beb5fecd5926
 output = ${buildout:directory}/template.cfg
 mode = 0644
 
-- 
2.30.9