Issue #7533 has been updated by Charlie Sharpsteen.

Status changed from Accepted to Duplicate
Assignee set to Charlie Sharpsteen

Closing as a duplicate of #5349.

----------------------------------------
Bug #7533: subclass stage doesn't apply to baseclass 
https://projects.puppetlabs.com/issues/7533#change-90949

* Author: Kevin Cai
* Status: Duplicate
* Priority: Normal
* Assignee: Charlie Sharpsteen
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
when use class inheritance, given subclass's stage doesn't apply to base class.
Following is an example,
<pre>
class base {
   # definitions of base class
}

class child inherits base {
   # definitions of sub class
}
</pre>
Now have following nodes configure 
<pre>
node default {
    class {child: stage => pre }
}
</pre>

All resources defined in sub class will be associated to `Stage[pre]`, but 
resources in base class still run in `Stage[main]`.

Any resolution to this? 

As including sub class `Class[child]`, we can't include `Class[base]` again. 
Shouldn't the base class running on the same stage as subclass?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to