Class Puppet::Provider::Confine::Variable
In: lib/puppet/provider/confine/variable.rb
Parent: Puppet::Provider::Confine

Require a specific value for a variable, either a Puppet setting or a Facter value. This class is a bit weird because the name is set explicitly by the ConfineCollection class — from this class, it‘s not obvious how the name would ever get set.

Methods

facter_value   message   new   pass?   reset   summarize   valid?  

Attributes

name  [RW]  This is set by ConfineCollection.

Public Class methods

Provide a hash summary of failing confines — the key of the hash is the name of the confine, and the value is the missing yet required values. Only returns failed values, not all required values.

Public Instance methods

Retrieve the value from facter

Compare the passed-in value to the retrieved value.

[Validate]