Modify

Ticket #425 (closed defect: fixed)

Opened 16 years ago

Last modified 16 years ago

group/host specific :info files

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

Description

Contents of configuration files can be controlled per group/host, but not the metadata associated with them, e.g. user/group/mode/mtime.

Different config files often have different owners (like apache vs httpd or exim vs mail), so it would be nice to allow different file metadata for different groups/hosts.

Attachments

Change History

comment:1 Changed 16 years ago by dclark

comment:2 Changed 16 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 by adding a new metadata file type in Cfg repositories: info.xml. These files can contain multiple sets of permissions in a similar format to Rules or Pkgmgr files. For example,

<FileInfo>
  <Group name='webserver'>
    <Info owner='root' group='root' perms='0652'/>
  </Group>
  <Info owner='root' group='root' perms='0651'/>
</FileInfo>

will set perms 0652 on webservers, and 0651 on all other clients. This has been included in 0.9.5pre3.

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.