Modify

Ticket #892 (closed enhancement: fixed)

Opened 12 years ago

Last modified 11 years ago

Make "generalised" symlink rules.

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

Description

Allow some form of pattern matching in symlink rules to allow a single rule to apply to many targets. This could use regex for example with matching groups giving rules such as: <SymLink? name='/etc/nginx/sites-enabled/(\S+)' to='/etc/nginx/sites-available/\1'/>

Attachments

Change History

comment:1 Changed 12 years ago by Richard Connon <[email protected]…>

Thought I should clarify... the idea is that the Rules plugin would contain the wildcard rules described above and then a Bundle would contain the specific version.

comment:2 Changed 12 years ago by solj

  • Milestone set to Bcfg2 1.2.0 Release

comment:3 Changed 11 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed

Chris St. Pierre added this functionality in acdbf137595b45de2dda5b9ba3b33a1bb836e075.

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.