Modify

Ticket #390 (closed enhancement: fixed)

Opened 15 years ago

Last modified 15 years ago

Diversions for ConfigFiles

Reported by: [email protected] Owned by: desai
Priority: minor Milestone: Bcfg2 0.9.5 Release
Component: bcfg2-server Version:
Keywords: Cc:

Description

Hi,

One cool feature would be to include divertions in the ConfigFile? syntax. Some environment do not place regular files at the same place.The normal way to do that now is to have 2 entries in the Cfg plugin and maintain them separately. I don't find that very friendly.

One probably better way would be to conserve the location of one (maybe your most spread-out os), and define the other as a divertion, kind of place the file in X but look it up in Y for your generators.

<ConfigFile? name='/the/real/place' diversion_of='/where/to/look/for/it'/>

Does that make sense?

jacques

PS: that could have some very nice extra uses where a path is prepended in the diversion. Something like /production-dont-touch/etc/syslog.conf and /testing/etc/syslog.conf would place an awful blame on the person who ignores the machine and hose the servers. This can be done with svn too, I know...

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.5 Release

This has been added as the altsrc? feature. Great idea.

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.