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
This commit is contained in:
parent
553831bf34
commit
6be4faa81f
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue