summaryrefslogtreecommitdiff
path: root/lib/puppet/provider/mysql_user/mysql.rb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-04 14:54:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-04 14:54:49 -0200
commit239c7c8961df2740f868c81ada75878d33a1f812 (patch)
treebb17059d44329ea4bb314e3cdc3984fee97ab66e /lib/puppet/provider/mysql_user/mysql.rb
parentadc9c0f1168b780e6c8b78f63caa2fb51cc72399 (diff)
downloadpuppet-mysql-239c7c8961df2740f868c81ada75878d33a1f812.tar.gz
puppet-mysql-239c7c8961df2740f868c81ada75878d33a1f812.tar.bz2
Fix into mysql provider
Diffstat (limited to 'lib/puppet/provider/mysql_user/mysql.rb')
-rw-r--r--lib/puppet/provider/mysql_user/mysql.rb2
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..c415f6b 100644
--- a/lib/puppet/provider/mysql_user/mysql.rb
+++ b/lib/puppet/provider/mysql_user/mysql.rb
@@ -12,7 +12,7 @@ Puppet::Type.type(:mysql_user).provide(:mysql,
def self.instances
users = []
- cmd = "#{command(:mysql)} mysql -NBe 'select concat(user, \"@\", host), password from user'"
+ cmd = "#{command(:mysql)} -NBe 'select concat(user, \"@\", host), password from user'"
execpipe(cmd) do |process|
process.each do |line|
users << new( query_line_to_hash(line) )