Skip to content

Avoid useless loading of all files by augeas #1

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

Merged
merged 1 commit into from
Nov 9, 2017

Conversation

iakovgan
Copy link

@iakovgan iakovgan commented Nov 9, 2017

If in /etc/sysconfig/pgsql/postgresql there are files in a format other than bash style config , augeas will throw a warning:

Warning: Augeas[override PGDATA in /etc/sysconfig/pgsql/postgresql](provider=augeas): Loading failed for one or more files, see debug for /augeas//error output

This commit fixes the issue.

If there are files other than bash style config in /etc/sysconfig/pgsql/postgresql, augeas will throw exception
```
Warning: Augeas[override PGDATA in /etc/sysconfig/pgsql/postgresql](provider=augeas): Loading failed for one or more files, see debug for /augeas//error output
```
This commit fixes the issue.
@iakovgan iakovgan merged commit 671d6d0 into master Nov 9, 2017
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