module Luban::Deployment::Packages::Mysql::Paths

Public Instance Methods

admin_control_file_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 66
def admin_control_file_path
  @admin_control_file_path ||= profile_path.join('myadmin.cnf')
end
bin_log_file_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 38
def bin_log_file_path
  @bin_log_file_path ||= bin_log_path.join('mysql-bin')
end
bin_log_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 34
def bin_log_path
  @bin_log_path ||= shared_path.join('bin_log')
end
control_file_name() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 6
def control_file_name
  @control_file_name ||= "my.cnf"
end
data_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 10
def data_path
  @data_path ||= shared_path.join('data')
end
error_log_file_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 46
def error_log_file_path
  @error_log_file_path ||= error_log_path.join('mysql-err.log')
end
error_log_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 42
def error_log_path
  @error_log_path ||= log_path.join('error')
end
general_log_file_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 54
def general_log_file_path
  @general_log_file_path ||= general_log_path.join(log_file_name)
end
general_log_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 50
def general_log_path
  @general_log_path ||= log_path.join('general')
end
innodb_log_group_home_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 30
def innodb_log_group_home_path
  @innodb_log_group_home_path ||= shared_path.join('innodb_log')
end
secure_file_priv_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 74
def secure_file_priv_path
  @secure_file_priv_path ||= shared_path.join('mysql-files')
end
slow_query_log_file_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 62
def slow_query_log_file_path
  @slow_query_log_file_path ||= slow_query_log_path.join('mysql-slow.log')
end
slow_query_log_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 58
def slow_query_log_path
  @slow_query_log_path ||= log_path.join('slow')
end
socket_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 70
def socket_path
  @socket_path ||= app_tmp_path.join('mysql.sock')
end
ssl_ca_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 18
def ssl_ca_path
  @ssl_ca_path ||= ssl_rsa_path.join('ca.pem')
end
ssl_cert_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 22
def ssl_cert_path
  @ssl_cert_path ||= ssl_rsa_path.join('server-cert.pem')
end
ssl_key_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 26
def ssl_key_path
  @ssl_key_path ||= ssl_rsa_path.join('server-key.pem')
end
ssl_rsa_path() click to toggle source
# File lib/luban/deployment/packages/mysql/paths.rb, line 14
def ssl_rsa_path
  @ssl_rsa_path ||= shared_path.join('ssl_rsa')
end