From 14dbafc286141d62ed70d4e171f7a5aeac62482b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 8 Feb 2011 11:57:04 -0200 Subject: Rollback from previous change at mysql user provider --- lib/puppet/provider/mysql_user/mysql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/provider') diff --git a/lib/puppet/provider/mysql_user/mysql.rb b/lib/puppet/provider/mysql_user/mysql.rb index adc46c3..a19b353 100644 --- a/lib/puppet/provider/mysql_user/mysql.rb +++ b/lib/puppet/provider/mysql_user/mysql.rb @@ -37,7 +37,7 @@ Puppet::Type.type(:mysql_user).provide(:mysql, def query result = {} - cmd = "#{command(:mysql)} -NBe 'select concat(user, \"@\", host), password from user where concat(user, \"@\", host) = \"%s\"'" % @resource[:name] + cmd = "#{command(:mysql)} mysql -NBe 'select concat(user, \"@\", host), password from user where concat(user, \"@\", host) = \"%s\"'" % @resource[:name] execpipe(cmd) do |process| process.each do |line| unless result.empty? -- cgit v1.2.3