Issue #7282 has been updated by Daniel Pittman.

Assignee set to Daniel Pittman
Target version set to Statler
Affected Puppet version set to 2.7.0rc1
Branch set to 
https://github.com/daniel-pittman/puppet/commits/bug/2.7.x/7282-fail-when-no-invocation-given-for-action

https://github.com/daniel-pittman/puppet/commits/bug/2.7.x/7282-fail-when-no-invocation-given-for-action
 contains an implementation of this, raising correctly if an action is declared 
without a `when_invoked` block.  (`script` still works just as it did before, 
naturally enough.)

Most of the change is in fixing our tests where we were lazy, and just didn't 
declare those actions in the past.
----------------------------------------
Bug #7282: When `when_invoked` is not declared in a face subcommand, things 
mysteriously fail
https://projects.puppetlabs.com/issues/7282

Author: Pieter van de Bruggen
Status: Accepted
Priority: Normal
Assignee: Daniel Pittman
Category: Faces
Target version: Statler
Affected Puppet version: 2.7.0rc1
Keywords: 
Branch: 
https://github.com/daniel-pittman/puppet/commits/bug/2.7.x/7282-fail-when-no-invocation-given-for-action


When you fail to declare a `when_invoked` in your action declaration, things 
should explode rather violently, with a meaningful error message.


-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to