Project

General

Profile

Actions

Bug #6606

closed

Ncf loading doesn't work with windows

Added by Benoît PECCATTE over 9 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

It produces too long lines.
The patch used to make it work :

diff --git a/techniques/system/common/1.0/promises.st b/techniques/system/common/1.0/promises.st
index d5b2578..1065965 100644
--- a/techniques/system/common/1.0/promises.st
+++ b/techniques/system/common/1.0/promises.st
@ -130,11 +130,13 @ bundle common va
windows:: # Windows agent only exists in 3.6 version, so as a shortcut, we can load all files of ncf # It should be replaced by a proper script, as explained in #5659
- "ncf_common_inputs" slist => splitstring(execresult("c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command \"ls -Path 'c:\Program Files\Rudder\var\ncf\common' -Name *.cf
+ "ncf_common_inputs12" slist => splitstring(execresult("c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command \"get-childitem -Path 'c:\Program Files\Rudder\var\ncf\common
+ "ncf_common_inputs3456" slist => splitstring(execresult("c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command \"get-childitem -Path 'c:\Program Files\Rudder\var\ncf\comm
"ncf_local_inputs" slist => splitstring(execresult("c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command \"ls -Path 'c:\Program Files\Rudder\var\ncf\local' -Name *.cf -R # ncf_inputs contains all the files of ncf, and ignore the empty lists
"ncf_inputs" slist => {
- "{ncf_common_inputs}",
+ "
{ncf_common_inputs12}",
+ "{ncf_common_inputs3456}",
"
{ncf_local_inputs}",
},
policy => "ifdefined";


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #8559: list-compatible-inputs fails can fail because it returns more than 8192 characterReleasedBenoît PECCATTEActions
Actions #1

Updated by Benoît PECCATTE over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.11 to 2.11.12
Actions #3

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.12 to 2.11.13
Actions #4

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.13 to 2.11.14
Actions #5

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.14 to 2.11.15
Actions #6

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.15 to 2.11.16
Actions #7

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.16 to 2.11.17
Actions #8

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.17 to 2.11.18
Actions #9

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #10

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #11

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #12

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #13

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #14

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #15

Updated by Alexis Mousset over 8 years ago

  • Is duplicate of Bug #8559: list-compatible-inputs fails can fail because it returns more than 8192 character added
Actions #16

Updated by Alexis Mousset over 8 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF