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]


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.


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,

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

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.


Add a comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.