diff options
author | Daniel Pittman <daniel@puppetlabs.com> | 2011-05-31 15:02:41 -0700 |
---|---|---|
committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-05-31 15:26:41 -0700 |
commit | 618495c7b70671ff1da1653c76d1524ff3f615b7 (patch) | |
tree | e08c7ad4473a158e366625fcd56ad145522e7369 /lib/puppet/rails/rails_resource.rb | |
parent | 0d9eaea6fafe6bf57731a115d6a41c7ceacd8057 (diff) | |
download | puppet-618495c7b70671ff1da1653c76d1524ff3f615b7.tar.gz puppet-618495c7b70671ff1da1653c76d1524ff3f615b7.tar.xz puppet-618495c7b70671ff1da1653c76d1524ff3f615b7.zip |
#7211: more helpful error messages in various cases.
We were emitting a bunch of unhelpful failure messages, surrounding invalid
actions and especially default actions interacting with the command-line.
This cleans those up, to give a helpful, informative, and correct message in
all cases. Notably, we no longer report that there is no "default" action
when you specify an unknown action on a face.
This change revealed some other weaknesses in our unit tests, now correctly,
that result in slightly more robust code.
Diffstat (limited to 'lib/puppet/rails/rails_resource.rb')
0 files changed, 0 insertions, 0 deletions