Overview
This article provides a guideline how to handle:
...
Jira Legacy | ||||||||
---|---|---|---|---|---|---|---|---|
|
Config File Handling Rules
Never rewrite config files from other packages, like /etc/dhcp/dhcpd.conf
Instead provide a new config file, like /etc/dhcp/nmsprime/dhcpd.conf
and document how to include this file, like: "Add following line to /etc/dhcp/dhcpd.conf":Code Block include "/etc/dhcp/nmsprime/dhcpd.conf";
- If possible use the conf.d/* directories from other packages, like /etc/httpd/conf.d
Do not rewrite other config file packages! - Provide (.env) default config files for each module, in
/etc/nmsprime/
TODO: Patrick Reichel – Implement & Test & Document
Create default file for each module in Install folder
Note: When RPM updates are provided with newer config file versions, yum will automatically prompt a message and create a *.rpmnew config file. This will advise the user to take care of new configuration stuff.