summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2015-01-10 02:04:55 +0100
committermh <mh@immerda.ch>2015-01-10 02:05:11 +0100
commit6be4faa81f4db5b918a2c59a50de00da564b2e3c (patch)
tree46d66f7b34ba29497fdbf866af0c25388068469c
parent553831bf3440fb139b9e95616d9dc79728ec2669 (diff)
There is no need to call “super” here.
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
-rw-r--r--lib/puppet/type/mysql_user.rb2
1 files changed, 0 insertions, 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