Sha256: bc7b37a6e918bf95bb57962b8eeb39754762443c2e85d6d80fcddee80d41b7f6

Contents?: true

Size: 737 Bytes

Versions: 32

Compression:

Stored size: 737 Bytes

Contents

# frozen_string_literal: true

function = Puppet::Util::Reference.newreference :function, :doc => "All functions available in the parser" do
  Puppet::Parser::Functions.functiondocs
end
function.header = "
There are two types of functions in Puppet: Statements and rvalues.
Statements stand on their own and do not return arguments; they are used for
performing stand-alone work like importing.  Rvalues return values and can
only be used in a statement requiring a value, such as an assignment or a case
statement.

Functions execute on the Puppet master.  They do not execute on the Puppet agent.
Hence they only have access to the commands and data available on the Puppet master
host.

Here are the functions available in Puppet:

"

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
puppet-8.10.0 lib/puppet/reference/function.rb
puppet-8.10.0-x86-mingw32 lib/puppet/reference/function.rb
puppet-8.10.0-x64-mingw32 lib/puppet/reference/function.rb
puppet-8.10.0-universal-darwin lib/puppet/reference/function.rb
puppet-8.9.0 lib/puppet/reference/function.rb
puppet-8.9.0-x86-mingw32 lib/puppet/reference/function.rb
puppet-8.9.0-x64-mingw32 lib/puppet/reference/function.rb
puppet-8.9.0-universal-darwin lib/puppet/reference/function.rb
puppet-8.8.1 lib/puppet/reference/function.rb
puppet-8.8.1-x86-mingw32 lib/puppet/reference/function.rb
puppet-8.8.1-x64-mingw32 lib/puppet/reference/function.rb
puppet-8.8.1-universal-darwin lib/puppet/reference/function.rb
puppet-8.7.0 lib/puppet/reference/function.rb
puppet-8.7.0-x86-mingw32 lib/puppet/reference/function.rb
puppet-8.7.0-x64-mingw32 lib/puppet/reference/function.rb
puppet-8.7.0-universal-darwin lib/puppet/reference/function.rb
puppet-8.6.0 lib/puppet/reference/function.rb
puppet-8.6.0-x86-mingw32 lib/puppet/reference/function.rb
puppet-8.6.0-x64-mingw32 lib/puppet/reference/function.rb
puppet-8.6.0-universal-darwin lib/puppet/reference/function.rb