Module: Fulmar::Plugin::MariaDB::DslHelper
- Defined in:
- lib/fulmar/plugin/mariadb/dsl_helper.rb
Instance Method Summary collapse
-
#mariadb ⇒ Object
Return a mariadb object to query the database or get dumps.
Instance Method Details
#mariadb ⇒ Object
Return a mariadb object to query the database or get dumps
6 7 8 9 |
# File 'lib/fulmar/plugin/mariadb/dsl_helper.rb', line 6 def mariadb shell = config[:hostname] && config[:hostname] != 'localhost' ? remote_shell : local_shell storage['mariadb'] ||= Fulmar::Plugin::MariaDB::Database.new config, shell, local_shell end |