Sha256: 5b66c5ffe37ca6d801806a9ffe2cba968a8f02346ed9b293601ff232a775eac8

Contents?: true

Size: 338 Bytes

Versions: 642

Compression:

Stored size: 338 Bytes

Contents

Puppet::Functions.create_function(:'user::caller_ws', Puppet::Functions::InternalFunction) do
  dispatch :caller_ws do
    scope_param
    param 'String', :value
  end

  def caller_ws(scope, value)
    scope = scope.compiler.newscope(scope)
    scope['passed_in_scope'] = value
    call_function_with_scope(scope, 'callee_ws')
  end
end

Version data entries

642 entries across 642 versions & 1 rubygems

Version Path
puppet-8.3.0 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.3.0-x86-mingw32 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.3.0-x64-mingw32 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.3.0-universal-darwin spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.4.0 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.4.0-x86-mingw32 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.4.0-x64-mingw32 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.4.0-universal-darwin spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-7.28.0 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-7.28.0-x86-mingw32 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-7.28.0-x64-mingw32 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-7.28.0-universal-darwin spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.3.1 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.3.1-x86-mingw32 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.3.1-x64-mingw32 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-8.3.1-universal-darwin spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-7.27.0 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-7.27.0-x86-mingw32 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-7.27.0-x64-mingw32 spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb
puppet-7.27.0-universal-darwin spec/fixtures/unit/pops/loaders/loaders/mix_4x_and_3x_functions/user/lib/puppet/functions/user/caller_ws.rb