summaryrefslogtreecommitdiffstats
path: root/examples/code
diff options
context:
space:
mode:
authorJacob Helwig <jacob@puppetlabs.com>2011-04-15 09:52:56 -0700
committerJacob Helwig <jacob@puppetlabs.com>2011-04-19 10:30:10 -0700
commitb3ab0d94cb592189b3c553512dafe221775a0626 (patch)
treef4b6f5baa298c99c0bbe94d26711db0ce41dd818 /examples/code
parente945cea00512d33c3d9d262b8285896febf946a3 (diff)
downloadpuppet-b3ab0d94cb592189b3c553512dafe221775a0626.tar.gz
puppet-b3ab0d94cb592189b3c553512dafe221775a0626.tar.xz
puppet-b3ab0d94cb592189b3c553512dafe221775a0626.zip
(#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>
Diffstat (limited to 'examples/code')
0 files changed, 0 insertions, 0 deletions