Actions
Bug #14038
closedSeparated 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
<TML name="fileTemplate.ps1"> <OUTPATH>fileTemplate/1.0/fileTemplate.ps1</OUTPATH> </TML>
- 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
"RUDDER_DIRECTIVES_INPUTS":[ "Test_reporting_issue/1.0/Test_reporting_issue.ps1", "copyGitFile_RudderUniqueID/copyFileFromSharedFolder.ps1", "copyGitFile_RudderUniqueID/copyFileFromSharedFolder.ps1" ],
- if we drop the OUTPATH, all is fune, EXCEPT that the files are called .cf, and cannot be loaded by dsc agent
"RUDDER_DIRECTIVES_INPUTS":[ "Test_reporting_issue/1.0/Test_reporting_issue.ps1", "copyGitFile/2_3_58b4d816_9862_4cae_8120_3952c4ecf8f1/copyFileFromSharedFolder.ps1.cf", "copyGitFile/2_3_ef8f2e5c_21a0_42af_8c79_a1512b8d17aa/copyFileFromSharedFolder.ps1.cf" ],
Actions