voxpupuli / puppet-augeasproviders

Alternative Augeas-based providers for Puppet
http://augeasproviders.com/
Apache License 2.0
63 stars 46 forks source link

augeasproviders_syslog: should provide meaningful error message for missing `action_type` #145

Open ghost opened 8 years ago

ghost commented 8 years ago

When the action_type parameter is not provided to the rsyslog resource type, the following incomprehensible error message is produced:

Could not evaluate: unknown error - Matching path expression '$resource' failed

This condition should be caught by the resource type in order to provide a meaningful error message.