Puppet Function: has_interface_with

Defined in:
lib/puppet/functions/has_interface_with.rb
Function type:
Ruby 4.x API

Summary

DEPRECATED. Use the namespaced function [`stdlib::has_interface_with`](#stdlibhas_interface_with) instead.

Overview

has_interface_with(Any *$args)Any

Parameters:

  • *args (Any)

Returns:

  • (Any)


6
7
8
9
10
11
12
13
14
# File 'lib/puppet/functions/has_interface_with.rb', line 6

Puppet::Functions.create_function(:has_interface_with) do
  dispatch :deprecation_gen do
    repeated_param 'Any', :args
  end
  def deprecation_gen(*args)
    call_function('deprecation', 'has_interface_with', 'This function is deprecated, please use stdlib::has_interface_with instead.', false)
    call_function('stdlib::has_interface_with', *args)
  end
end