Sha256: c4920e58adc78e49dbf466783c47e302a2191ea5c838565347d62d80733d3e99

Contents?: true

Size: 709 Bytes

Versions: 75

Compression:

Stored size: 709 Bytes

Contents

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

75 entries across 75 versions & 4 rubygems

Version Path
puppet-parse-0.1.4 lib/vendor/puppet/reference/function.rb
puppet-parse-0.1.3 lib/vendor/puppet/reference/function.rb
puppet-parse-0.1.2 lib/vendor/puppet/reference/function.rb
puppet-parse-0.1.1 lib/vendor/puppet/reference/function.rb
puppet-2.7.26 lib/puppet/reference/function.rb
puppet-2.7.25 lib/puppet/reference/function.rb
puppet-2.7.24 lib/puppet/reference/function.rb
puppet-2.7.23 lib/puppet/reference/function.rb
puppet-2.7.22 lib/puppet/reference/function.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/lib/puppet/reference/function.rb
puppet-parse-0.1.0 lib/vendor/puppet/reference/function.rb
puppet-parse-0.0.6 lib/vendor/puppet/reference/function.rb
puppet-2.7.21 lib/puppet/reference/function.rb
puppet-3.1.1 lib/puppet/reference/function.rb
puppet-2.6.18 lib/puppet/reference/function.rb
puppet-parse-0.0.5 lib/vendor/puppet/reference/function.rb
puppet-parse-0.0.4 lib/vendor/puppet/reference/function.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/lib/puppet/reference/function.rb
puppet-3.1.0 lib/puppet/reference/function.rb
puppet-3.1.0.rc2 lib/puppet/reference/function.rb