Ticket #806 (closed enhancement: fixed)
Permit combining Cfg and TGenshi directory trees
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawl4iNtFn_eKyNj3qKUVqrEQGKMW3fi4OVw | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-server | Version: | |
Keywords: | Cc: |
Description
It would be nice if the Cfg and TGenshi directory trees could be merged. That way, there would be just one place to look for the source to a configuration file.
Some initial testing suggests it would not suffice to have Cfg simply ignore template files and TGenshi ignore non-templates, because the generators do special things when a directory is empty. It looks as if you need to convince the "wrong" generator to ignore the directory entirely.
Attachments
Change History
comment:2 Changed 13 years ago by kisielk
I proposed something to this effect on the mailing list probably over a year ago. See if you can dig up the post from the archives on how I proposed to solve it. Unfortunately work hasn't allowed me time to follow through with my proposal :(
comment:3 Changed 13 years ago by solj
- Milestone changed from Bcfg2 1.1.0 Release to Bcfg2 1.3.0 Release
comment:4 Changed 12 years ago by laszlo
- Status changed from new to closed
- Resolution set to fixed
Support for genshi files within Cfg.py has been added in commit 1d26df5c0619873ed27e20c88f5bf62a67e57d67