class Boxen::Preflight::EtcMyCnf

Public Instance Methods

ok?() click to toggle source
# File lib/boxen/preflight/etc_my_cnf.rb, line 9
def ok?
  !File.file? "/etc/my.cnf"
end
run() click to toggle source
# File lib/boxen/preflight/etc_my_cnf.rb, line 4
def run
  abort "You have an /etc/my.cnf file.",
    "This will confuse Boxen's MySQL a lot. Please remove it."
end