From 0e8a73ecea0536b016e089d7772f0e5cbb50e1ae Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 20 May 2013 14:36:59 +0200 Subject: [PATCH] fix ordering --- lib/puppet/provider/mysql_database/mysql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/provider/mysql_database/mysql.rb b/lib/puppet/provider/mysql_database/mysql.rb index dc1730d..69016ae 100644 --- a/lib/puppet/provider/mysql_database/mysql.rb +++ b/lib/puppet/provider/mysql_database/mysql.rb @@ -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 } )