[Puppet Users] Re: Custom Windows Fact (match ipaddress)

2013-11-12 Thread giovanni possemato
hi all, try using the sysnative instead of System32 The File System Redirectorhttp://msdn.microsoft.com/en-us/library/aa384187(v=vs.85).aspx will silently redirect all file system access to%windir%\system32 to %windir%\SysWOW64 instead. This can be an issue when trying to manage files in

[Puppet Users] Re: Custom Windows Fact (match ipaddress)

2013-10-30 Thread cko
Still no effect. Facter::Util::Resolution.exec(C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe ipconfig | Select-String -pattern '192.168.20[567]' | %{$_.line.split()} | FINDSTR 192.168.20[567]) Is there anything else i need to escape? On Tuesday, October 29, 2013