diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-02-04 14:54:49 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-02-04 14:54:49 -0200 |
commit | 239c7c8961df2740f868c81ada75878d33a1f812 (patch) | |
tree | bb17059d44329ea4bb314e3cdc3984fee97ab66e /lib/puppet | |
parent | adc9c0f1168b780e6c8b78f63caa2fb51cc72399 (diff) | |
download | puppet-mysql-239c7c8961df2740f868c81ada75878d33a1f812.tar.gz puppet-mysql-239c7c8961df2740f868c81ada75878d33a1f812.tar.bz2 |
Fix into mysql provider
Diffstat (limited to 'lib/puppet')
-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..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) ) |