Ticket #599 (closed defect: fixed)
deltas not being recognised
Reported by: | [email protected]… | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 0.9.6 Release |
Component: | bcfg2-server | Version: | |
Keywords: | delta .cat | Cc: |
Description
Cfg/ files with a .cat extension are not recognized as diffs and being used as complete literal configuration.
For example:
Cfg/foo/foo contains
foo
Cfg/foo/foo.G50_group.cat contains
+bar
The actual full configuration that is generated is:
+bar
and not
foo bar
I have noticed this problem since and upgrade from 0.9.5.7 to 0.9.6.0-pre2/svn
Attachments
Change History
comment:1 Changed 15 years ago by desai
- Status changed from new to closed
- Resolution set to fixed
- Milestone set to Bcfg2 0.9.6 Release
Changed 15 years ago by Matt Baker <[email protected]…>
- Attachment Cfg.py.patch added
Patch to remove extra new line character
comment:2 Changed 15 years ago by Matt Baker <[email protected]…>
- Status changed from closed to reopened
- Resolution fixed deleted
Many thanks for looking at this. This has solved the problem with the original base file being removed from the stack. However, I now get an extra new line character at the end of each component added.
Have attached a patch that seems to fix it.
comment:3 Changed 15 years ago by desai
- Status changed from reopened to closed
- Resolution set to fixed
Committed in [9935853fa13c834d644512a561835b72a5bf3dc8] (SVN r4925). Thanks for the patch.
Fixed in [31a81c82a5c8e71a7e355dc1426da10ec6e28a45] (SVN r4922)