Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#14136) Emit debug/warnings when Augeas provider fails to load files #733

Conversation

domcleal
Copy link
Contributor

@domcleal domcleal commented May 2, 2012

The messages and information from /augeas//error are now printed to debug when
the provider opens Augeas, allowing file parse errors to be found.

The provider can also restrict the files that are loaded (from the default of
everything). In these cases, the provider now emits a warning and then prints
all the detailed information to debug. Since a few parse errors are common, no
warning is given when these optimisations aren't in use.

http://projects.puppetlabs.com/issues/14136

The messages and information from /augeas//error are now printed to debug when
the provider opens Augeas, allowing file parse errors to be found.

The provider can also restrict the files that are loaded (from the default of
everything).  In these cases, the provider now emits a warning and then prints
all the detailed information to debug.  Since a few parse errors are common, no
warning is given when these optimisations aren't in use.
@domcleal
Copy link
Contributor Author

Is there anything I can provide to help somebody review this? Explanations, examples etc.

@domcleal
Copy link
Contributor Author

Targeted to 3.x now in pull request #879.

zaphod42 added a commit that referenced this pull request Jun 26, 2012
…into 3.0rc

(#14136) Emit debug/warnings when Augeas provider fails to load files
Originally submitted as #733 against master, re-targeting to 3.x now the
branch exists.

The messages and information from /augeas//error are now printed to
debug when the provider opens Augeas, allowing file parse errors to be
found.

The provider can also restrict the files that are loaded (from the
default of everything). In these cases, the provider now emits a warning
and then prints all the detailed information to debug. Since a few parse
errors are common, no warning is given when these optimisations aren't
in use.

Conflicts:
	CHANGELOG
	lib/puppet/provider/augeas/augeas.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant