Project

General

Profile

Bug #14038

Updated by Nicolas CHARLES over 5 years ago

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 
 <pre> 
 <TML name="fileTemplate.ps1"> 
  <OUTPATH>fileTemplate/1.0/fileTemplate.ps1</OUTPATH> 
 </TML> 
 </pre> 


 * # 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  
 <pre> 
   "RUDDER_DIRECTIVES_INPUTS":[ 
     "Test_reporting_issue/1.0/Test_reporting_issue.ps1", 
     "copyGitFile_RudderUniqueID/copyFileFromSharedFolder.ps1", 
     "copyGitFile_RudderUniqueID/copyFileFromSharedFolder.ps1" 
   ], 
 </pre> 

 * # if we drop the OUTPATH, all is fune, EXCEPT that the files are called .cf, and cannot be loaded by dsc agent 
 <pre> 
   "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" 
   ], 
 </pre>

Back