HTTPS clone URL
Subversion checkout URL
publically available extensions to puppet-interfaces project
Fetching latest commit...
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
# # copyright: PuppetLabs 2011 # by: Dan Bode # Interface utils are a module that provides additional functionality via the faces API of Puppet. # Installation ============== upgrade puppet to 2.7.0 or above install puppet-interface-utils #>git clone https://github.com/puppetlabs/interface-utils add interface-utils/lib to RUBYLIB #>cd interface-utils #>export RUBYLIB=`pwd`/interface-utils/lib/:$RUBYLIB # Interfaces ============ provides wrappers around the existing indirectors/termini for a full list of functionality run(after setting RUBYLIB): #>puppet help ensure that this list includes the following faces: - test - dashboard - parser(soon to be deprecated, b/c resource_type in 2.7 provides its functionality) To learn more about these faces, run: #>puppet help <face_name> faces are always called from the command line as: #> puppet <face_name> <action_name> # Interfaces as an API ====================== Interfaces can also be used programatically: > require 'puppet/face/parser' > face = Puppet::Face['parser', :current] > classes = face.get_classes()