Modify

Ticket #599 (closed defect: fixed)

Opened 15 years ago

Last modified 12 years ago

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

Cfg.py.patch (476 bytes) - added by Matt Baker <[email protected]…> 15 years ago.
Patch to remove extra new line character

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

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.

comment:4 Changed 12 years ago by https://www.google.com/accounts/o8/id?id=AItOawla8v-PSAVILEcEY_4mFaEpFSZA3zZdPzo

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.