HomePhorge

(#4655) Allow stage to be set using a default class parameter
b3ab0d94cb59Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#4655) Allow stage to be set using a default class parameter

For example:

stage{ pre: before => Stage[main] }
class someclass ($stage=pre ) { ... }
class { someclass: }

This transplants adding the edge from the resource to the stage from
the compiler into when the resource is evaluated. This moves adding
the stage edges to after when the defaults are copied into the
resources, making them available.

Paired-with: Jesse Wolfe <jesse@puppetlabs.com>

Details

Provenance
Jacob Helwig <jacob@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUe945cea00512: Merge branch 'ticket/2.7.x/6408' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPUb3ab0d94cb59: (#4655) Allow stage to be set using a default class parameter (authored by Jacob Helwig <jacob@puppetlabs.com>).Apr 19 2011, 7:30 PM