Posted On: Feb 22, 2018
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.
Never Miss an Articles from us.