Class | Puppet::Util::Feature |
In: |
lib/puppet/util/feature.rb
|
Parent: | Object |
Created by Luke Kanies on 2006-11-07. Copyright (c) 2006. All rights reserved.
path | [R] |
Create a new feature test. You have to pass the feature name, and it must be unique. You can either provide a block that will get executed immediately to determine if the feature is present, or you can pass an option to determine it. Currently, the only supported option is ‘libs’ (must be passed as a symbol), which will make sure that each lib loads successfully.