Issue #14136 has been updated by Dominic Cleal.

Status changed from Accepted to In Topic Branch Pending Review
Branch set to https://github.com/puppetlabs/puppet/pull/733

Thanks, done.  The conflicting changes weren't made anyway, so they should both 
merge nicely.

I expanded the task to always print errors to debug for general use, as well as 
reporting parse errors as warnings when optimisations are in use.
----------------------------------------
Bug #14136: Show warning when Augeas provider fails to load a specific file
https://projects.puppetlabs.com/issues/14136#change-61860

Author: Dominic Cleal
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Dominic Cleal
Category: augeas
Target version: Telly
Affected Puppet version: development
Keywords: augeas error
Branch: https://github.com/puppetlabs/puppet/pull/733


In two cases, the Augeas provider will try to load a specific or limited set of 
files, but it doesn't show any warning or error if this fails.  This happens 
either when a single file is loaded with the "incl" and "lens" parameters, or 
using the "context" optimisation in #7285 (Telly).

The errors are hidden under the /augeas part of the tree, rather than being a 
failure from Augeas.open, so they need to be searched for (similar to #5606).  
The only time we should probably do this is when loading specific files, or 
we'll be reporting on all parse or permissions errors.


-- 
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