-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Adding two host entries; Entries are getting combined into one line on the first run, then properly inserted in the second run #101
Comments
This bug was introduced by commit 7808760 which shares an Augeas handler for Puppet >= 3.4. |
* pg_hba test failures * mailalias test failures (probably shouldn't assume order of resource exec) Fixes voxpupuli#101
@raphink fyi, I have a WIP branch here to fix it, but it's not quite done... https://github.com/domcleal/augeasproviders/tree/101-seq-shared |
Ah great. I hadn't seen how using the |
Yeah, a helper to work out the correct seq number based on the current in-memory tree was the way I was going with the fix. |
This bug is really problematic. We should probably port is to 1.X and release a bug fix. |
PR #107 fixes this issue. |
Fixed in cb07321 |
See output below. Trying to add two entries. First run of puppet combines the entries into one /etc/hosts line. Second run properly cleans up /etc/hosts and puts them as two lines. Issue also happens even when both host entries are not coming from the same class, or even the same module. (On another setup, I had 3 host entries specified throughout the environment, and all 3 were combined into one line. Took 2 more puppet runs for it to be clean)
Versions of software/modules:
Puppet 3.5.1-1
Foreman 1.5.0-1
Augeasproviders 1.1.0, pulled from git://github.com/hercules-team/augeasproviders
The text was updated successfully, but these errors were encountered: