[Puppet Users] Re: External Facts on Windows with Powershell

Jay Benner
Thu, 10 Oct 2013 22:48:37 -0000

Did you figure this out?  I am having the same trouble.

On Tuesday, April 9, 2013 10:44:38 AM UTC-5, Grant Trevor
wrote:
>
> I''m trying to follow the steps on
> http://docs.puppetlabs.com/guides/custom_facts.html in regards to
> declaring External Facts using powershell.
>
> I''ve created a simple .ps1 file outputing a single key pair eg:
Write-Host
> "mykey=123456", however if I run Facter from the Command
Prompt(with
> puppet) my value isn''t present.
>
> Also if I run ''puppet apply MyModule.pp --verbose''  I
don''t receive any
> information about it attempting to load facts.
>
> I''ve also tried a simple txt file with no luck.
>
> I''m using Puppet 2.7.17 installed via chocolatey, could this be a
> configuration issue, do I need to enable External Task parsing?