Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/puppet/parser/functions/mysql_deepmerge.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if Puppet::Util::Package.versioncmp(Puppet.version, '5.5.6') > 0
raise Puppet::ParseError, "this function is not functional on #{Puppet.version}. Please port your code to use the 'mysql::deepmerge' function instead."
end

module Puppet::Parser::Functions
newfunction(:mysql_deepmerge, type: :rvalue, doc: <<-'ENDHEREDOC') do |args|
@summary Recursively merges two or more hashes together and returns the resulting hash.
Expand Down