Mention the functions supported in Puppet?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Aug 02, 2019

 

Functions are supported by puppet and there are two kinds of functions that the Puppet supports. These are ‘statement function' and ‘rvalue function'. In the language of Puppet, your own function can be returned by you for transforming data and to construct the values. A calculated value is returned by a function from the final expression. Statements don't have any type of return and are used for performing the duties such as to import modules of Puppet into the new file of the manifest. Rvalue has the return type two return values. This can be bought to use only if a value is required by the statement.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Puppet Interview Questions

    What is Puppet?

    Puppet is a tool for managing configuration and is broadly used for the purpose of automation of the administrative tasks. The tool Puppet aids the server in deployment, managing and in the configurat...

    Puppet Interview Questions

    What do you understand by MCollective?

    MCollective is a framework of orchestration which is dynamically strong. It has the ability to run actions simultaneously over hundreds and thousands of servers with the help of existing plugins....

    Puppet Interview Questions

    What do you understand by Puppet Manifests?

    The details of the configuration of each puppet agent are written in the native language of Puppet. The configuration details are found in the Puppet master. It is written in the language that is unde...