]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(#13610) Add is_function_available to stdlib
authorEric Shamow <eric@puppetlabs.com>
Wed, 4 Apr 2012 02:30:46 +0000 (22:30 -0400)
committerAdrien Thebo <git@somethingsinistral.net>
Mon, 18 Mar 2013 22:44:50 +0000 (15:44 -0700)
commit961dcab15d3cf00eabeb5a496efc9da051169241
tree9e5d6633b54a1b23d4b83fa78a77e7cfaa5d253f
parent6dfd7f6b73c4f9437058609f43d0065d52e36494
(#13610) Add is_function_available to stdlib

This function provides a simple wrapper around
Puppet::Parser::Functions.function for access within Puppet manifests.
This will allow users to check whether or not a plugin or functionality
such as hiera is installed on the server.
lib/puppet/parser/functions/is_function_available.rb [new file with mode: 0644]
spec/unit/puppet/parser/functions/is_function_available.rb [new file with mode: 0644]