comparison modules/inifile/lib/puppet/functions/create_ini_settings.rb @ 386:3fce34f642f1

Add a PHP module to handle platform differences
author IBBoard <dev@ibboard.co.uk>
date Mon, 03 Jan 2022 17:09:39 +0000
parents
children
comparison
equal deleted inserted replaced
385:d9009f54eb23 386:3fce34f642f1
1 # frozen_string_literal: true
2
3 # @summary DEPRECATED. Use the namespaced function [`inifile::create_ini_settings`](#inifilecreate_ini_settings) instead.
4 Puppet::Functions.create_function(:create_ini_settings) do
5 dispatch :deprecation_gen do
6 repeated_param 'Any', :args
7 end
8 def deprecation_gen(*args)
9 call_function('deprecation', 'create_ini_settings', 'This method is deprecated, please use inifile::create_ini_settings instead.')
10 call_function('inifile::create_ini_settings', *args)
11 end
12 end