Commit 5307ec60 authored by Julien Muchembled's avatar Julien Muchembled

NEO: add 'mysql' and 'neolog' to instance bin directory

parent 535e17f9
...@@ -28,6 +28,17 @@ rendered = ${directory:etc}/mariadb.cnf ...@@ -28,6 +28,17 @@ rendered = ${directory:etc}/mariadb.cnf
template = {{ template_neo_my_cnf }} template = {{ template_neo_my_cnf }}
context = section parameter_dict my-cnf-parameters context = section parameter_dict my-cnf-parameters
[{{ section('binary-wrap-mysql') }}]
recipe = slapos.cookbook:wrapper
command-line = ${mysqld:mysql-base-directory}/bin/${:command} --defaults-file=${my-cnf:rendered}
wrapper-path = ${directory:bin}/${:command}
command = mysql
[{{ section('binary-neolog') }}]
recipe = slapos.cookbook:symbolic.link
target-directory = ${directory:bin}
link-binary = {{ bin_directory }}/neolog
{% set master_list = [] -%} {% set master_list = [] -%}
{% set admin_list = [] -%} {% set admin_list = [] -%}
{% for k, v in slapparameter_dict.iteritems() -%} {% for k, v in slapparameter_dict.iteritems() -%}
......
...@@ -105,7 +105,7 @@ md5sum = 1fee10f02c2fa2a581e21878ca0fd704 ...@@ -105,7 +105,7 @@ md5sum = 1fee10f02c2fa2a581e21878ca0fd704
[instance-neo-storage-mysql] [instance-neo-storage-mysql]
<= download-base-neo <= download-base-neo
md5sum = 9ca3283659f98713ffe3b08ba9442ff1 md5sum = 16024af1cde9c0fcc7e8e05ec0854b30
[template-neo-my-cnf] [template-neo-my-cnf]
<= download-base-neo <= download-base-neo
......
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