Class Puppet::Parser::Resource
In: lib/puppet/parser/resource.rb
Parent: Puppet::Resource

The primary difference between this class and its parent is that this class has rules on who can set parameters

Methods

Included Modules

Puppet::FileCollection::Lookup Puppet::Resource::TypeCollectionHelper Puppet::Util Puppet::Util::MethodHelper Puppet::Util::Errors Puppet::Util::Logging Puppet::Util::Tagging Puppet::Parser::YamlTrimmer

Classes and Modules

Class Puppet::Parser::Resource::Param

Attributes

catalog  [RW] 
evaluated  [RW] 
exported  [R] 
override  [RW] 
parameters  [R] 
rails_id  [RW] 
scope  [RW] 
source  [RW] 
translated  [RW] 
virtual  [RW] 

Public Class methods

Determine whether the provided parameter name is a relationship parameter.

Public Instance methods

Retrieve the associated definition and evaluate it.

Mark this resource as both exported and virtual, or remove the exported mark.

Do any finishing work on this object, called before evaluation or before storage/translation.

Has this resource already been finished?

Is this resource modeling an isomorphic resource type?

Merge an override resource in. This will throw exceptions if any overrides aren‘t allowed.

Unless we‘re running >= 0.25, we‘re in compat mode.

A temporary occasion, until I get paths in the scopes figured out.

Define a parameter in our resource. if we ever receive a parameter named ‘tag’, set the resource tags with its value.

Convert this resource to a RAL resource. We hackishly go via the transportable stuff.

Create a Puppet::Resource instance from this parser resource. We plan, at some point, on not needing to do this conversion, but it‘s sufficient for now.

Translate our object to a transportable object.

Set up some boolean test methods

[Validate]