diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-08 11:57:04 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-08 11:57:04 -0200 |
commit | 14dbafc286141d62ed70d4e171f7a5aeac62482b (patch) | |
tree | 9402b862a5e7ae846b205aaca66c7a1dc9e3c870 | |
parent | 2929379eb88fe6941f28033d84e545f3c3a95e53 (diff) | |
download | puppet-mysql-14dbafc286141d62ed70d4e171f7a5aeac62482b.tar.gz puppet-mysql-14dbafc286141d62ed70d4e171f7a5aeac62482b.tar.bz2 |
Rollback from previous change at mysql user provider
-rw-r--r-- | lib/puppet/provider/mysql_user/mysql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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? |