Puppet Function: ensure_packages
- Defined in:
-
vendor_modules/stdlib/lib/puppet/parser/functions/ensure_packages.rb
- Function type:
- Ruby 3.x API
Summary
Deprecated 3x version of the `ensure_packages` function
Overview
ensure_packages() ⇒ Any
4
5
6
7
8
|
# File 'vendor_modules/stdlib/lib/puppet/parser/functions/ensure_packages.rb', line 4
newfunction(:ensure_packages, type: :statement, doc: '@summary Deprecated 3x version of the `ensure_packages` function') do |arguments|
Puppet.warn_once('deprecations', '3xfunction#ensure_packages', 'Calling function_ensure_packages via the Scope class is deprecated. Use Scope#call_function instead')
call_function('ensure_packages', arguments)
end
|