fix ordering

This commit is contained in:
mh 2013-05-20 14:36:59 +02:00
parent 86ef2c3dd2
commit 0e8a73ecea

View file

@ -23,7 +23,7 @@ Puppet::Type.type(:mysql_database).provide(:mysql,
def self.instances
dbs = []
cmd = "#{command(:mysql)} mysql #{defaults_file} -NBe 'show databases'"
cmd = "#{command(:mysql)} #{defaults_file} mysql -NBe 'show databases'"
execpipe(cmd) do |process|
process.each do |line|
dbs << new( { :ensure => :present, :name => line.chomp } )