From 6be4faa81f4db5b918a2c59a50de00da564b2e3c Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 10 Jan 2015 02:04:55 +0100 Subject: =?UTF-8?q?There=20is=20no=20need=20to=20call=20=E2=80=9Csuper?= =?UTF-8?q?=E2=80=9D=20here.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch avoid the following error: Validate method failed for class sleep: implicit argument passing of super from method defined by define_method() is not supported. Specify all arguments explicitly. See https://git.openstack.org/cgit/stackforge/puppet-vswitch/commit/?id=25afbfe58867fb39266a8862cfd6a3f8f38a9564 --- lib/puppet/type/mysql_user.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/puppet/type/mysql_user.rb b/lib/puppet/type/mysql_user.rb index 0b7e9af..7d41890 100644 --- a/lib/puppet/type/mysql_user.rb +++ b/lib/puppet/type/mysql_user.rb @@ -12,8 +12,6 @@ Puppet::Type.newtype(:mysql_user) do if value.split('@').first.size > 16 raise ArgumentError, "MySQL usernames are limited to a maximum of 16 characters" - else - super end end end -- cgit v1.2.3