Commit c3b18a84 authored by Jérome Perrin's avatar Jérome Perrin

mariadb: generate a command line client

parent 2eee45d9
......@@ -9,6 +9,7 @@ parts =
cron
cron-entry-logrotate
cron-entry-mariadb-backup
mariadb-cli
gzip-binary = ${gzip:location}/bin/gzip
......@@ -20,6 +21,13 @@ offline = true
recipe = slapos.cookbook:publishurl
url = mysqls://$${mariadb:user}:$${mariadb:password}@[$${stunnel:remote-host}]:$${stunnel:remote-port}/$${mariadb:database}
[mariadb-cli]
recipe = slapos.cookbook:wrapper
command-line = ${mariadb:location}/bin/mysql -S $${mariadb:socket}
wrapper-path = $${rootdirectory:bin}/mariadb
parameters-extra = true
[mariadb]
recipe = slapos.cookbook:mysql
......
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