HomePhorge

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

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
rPUbee1ef73e5c8: Updated CHANGELOG for 2.6.8rc1
Branches
Unknown
Tags
Unknown

Event Timeline

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