Modify ↓
Ticket #425 (closed defect: fixed)
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: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.
Note: See
TracTickets for help on using
tickets.