summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-04 15:08:14 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-04 15:08:14 -0200
commit3b8a87f69d368f726fcff38db7a16b69f173c7bc (patch)
tree8b431784fd610e203ca3b42f03069f1c617dcddd /lib
parent239c7c8961df2740f868c81ada75878d33a1f812 (diff)
downloadpuppet-mysql-3b8a87f69d368f726fcff38db7a16b69f173c7bc.tar.gz
puppet-mysql-3b8a87f69d368f726fcff38db7a16b69f173c7bc.tar.bz2
Rollback
Diffstat (limited to 'lib')
-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 c415f6b..adc46c3 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)} -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) )