Actions
Bug #14038
closedSeparated policy generation does not work correctly with Rudder DSC agent
Bug #14038:
Separated policy generation does not work correctly with Rudder DSC agent
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
We have several problems at stake here
- Techniques hardcode an outputh path for DSC policy files - so files of each directives are overriding each others
- if we add a _RudderUniqueID (only once in the OUTPATH, otherwise it is not replaced!), the files are at the correct location, but the inputs/rudder.json is invalid
- if we drop the OUTPATH, all is fune, EXCEPT that the files are called .cf, and cannot be loaded by dsc agent
Updated by Nicolas CHARLES almost 8 years ago
- Description updated (diff)
Updated by Nicolas CHARLES almost 8 years ago
this is an interesting issue - the .cf is hardcoded; so we could extend AgentType (in ldap-inventory) to add a default extension per agent, but we support several agent per template, so we need to extend AgentType, and change the parsing to add the extension per agenttype - which change the logic in the depth of the parsing, where code is quite old
i still don't understand why the RudderUniqueID is not replaced in the inputlist
Updated by Nicolas CHARLES almost 8 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES almost 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1394
Updated by Nicolas CHARLES almost 8 years ago
- Related to Architecture #14058: Normalize remplacement of RudderUniqueId in paths/bundle names/templates/inputs list added
Updated by Vincent MEMBRÉ almost 8 years ago
- Target version changed from 4.3.8 to 4.3.9
Updated by Nicolas CHARLES almost 8 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|e80dde2c448c10228c1ff429649717c1ed49412a.
Updated by Alexis Mousset almost 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.3.9 and 5.0.5 which were released today.
Actions