]> gitweb.fluxo.info Git - puppet-mysql.git/commitdiff
Rollback
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 4 Feb 2010 17:08:14 +0000 (15:08 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 4 Feb 2010 17:08:14 +0000 (15:08 -0200)
lib/puppet/provider/mysql_user/mysql.rb

index c415f6bb7ef4399c0762dc3e11e520d8b7feb556..adc46c3b20e32ed9a7fd7c2f3298186f56cd069e 100644 (file)
@@ -12,7 +12,7 @@ Puppet::Type.type(:mysql_user).provide(:mysql,
        def self.instances
                users = []
 
-               cmd = "#{command(:mysql)} -NBe 'select concat(user, \"@\", host), password from user'"
+               cmd = "#{command(:mysql)} mysql -NBe 'select concat(user, \"@\", host), password from user'"
                execpipe(cmd) do |process|
                        process.each do |line|
                                users << new( query_line_to_hash(line) )