Bug #5937
closedEnforce the content of the local ncf configuration file from techniques
Description
In #5682, we introduced a new format for the ncf configuration file, by using a mustache template
We need to modify the way it is handled by the script rudder-upgrade which sed in it, regardless of the context
We need to obtain, at the end, a config file that owuld look like
{{#classes.any}} # Which logger(s) should be used in ncf? (comma separated list) loggers=_logger_default {{/classes.any}} # Which port should be for CFEngine connections/data transfers {{#classes.community_edition}} cfengine_port=5309 {{/classes.community_edition}} {{#classes.enterprise_edition}} cfengine_port=5308 {{/classes.enterprise_edition}}
Updated by Nicolas CHARLES almost 10 years ago
- Assignee changed from Matthieu CERDA to Benoît PECCATTE
Updated by Benoît PECCATTE almost 10 years ago
- Status changed from New to Pending technical review
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-packages/pull/561
Updated by Benoît PECCATTE almost 10 years ago
- Pull Request changed from https://github.com/Normation/rudder-packages/pull/561 to https://github.com/Normation/rudder-packages/pull/562
PR replaced by https://github.com/Normation/rudder-packages/pull/562
Updated by Nicolas CHARLES almost 10 years ago
- Project changed from 34 to 24
- Subject changed from rudder-upgrade seds into ncf.conf to replace all value, but this is not compliant with the new mustache templating for this configuration file to Enforce the content of the ncf configuration file from techniques
- Category set to Techniques
- Status changed from Pending technical review to In progress
- Pull Request deleted (
https://github.com/Normation/rudder-packages/pull/562)
The ncf configuration file cannot simply be enforced by packaging, as is it a configuration file of ncf
To avoid any race condition/conflict/issue on ordering, we will enforce its content with the techniques
Updated by Nicolas CHARLES almost 10 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/610
Updated by Jonathan CLARKE almost 10 years ago
Nicolas CHARLES wrote:
The ncf configuration file cannot simply be enforced by packaging, as is it a configuration file of ncf
Well, we should not be changing the ncf version of this config file, only Rudder's instance of it (in /var/rudder/configuration-repository/ncf/).
To avoid any race condition/conflict/issue on ordering, we will enforce its content with the techniques
Sounds good to me.
Updated by Nicolas CHARLES almost 10 years ago
- Subject changed from Enforce the content of the ncf configuration file from techniques to Enforce the content of the local ncf configuration file from techniques
- Assignee changed from Benoît PECCATTE to Jonathan CLARKE
Updated by Nicolas CHARLES almost 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset commit:e88ea7d3789e5b8fa5bc2e661407bb2b26a2be88.
Updated by Jonathan CLARKE almost 10 years ago
Applied in changeset commit:1962e71d589e799e7514b9844980e5100de5d3aa.
Updated by Vincent MEMBRÉ almost 10 years ago
- Project changed from 24 to Rudder
- Category changed from Techniques to System techniques
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.5, which was released today (16/12/14)
- Announcement 2.11
- Changelog 2.11
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Jonathan CLARKE almost 9 years ago
- Related to Bug #7452: New version of ncf_conf.cache may not be properly updated on nodes after an upgrade added
Updated by Jonathan CLARKE over 8 years ago
- Related to Bug #7794: rudder-upgrade edits the wrong ncf.conf file causing transitory invalid promises during upgrades added