diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-02-04 15:08:14 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-02-04 15:08:14 -0200 |
commit | 3b8a87f69d368f726fcff38db7a16b69f173c7bc (patch) | |
tree | 8b431784fd610e203ca3b42f03069f1c617dcddd /lib/puppet | |
parent | 239c7c8961df2740f868c81ada75878d33a1f812 (diff) | |
download | puppet-mysql-3b8a87f69d368f726fcff38db7a16b69f173c7bc.tar.gz puppet-mysql-3b8a87f69d368f726fcff38db7a16b69f173c7bc.tar.bz2 |
Rollback
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 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) ) |