On Thu, Oct 10, 2013 at 3:48 PM, Jay Benner <[email protected]> wrote:

> 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<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?
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-users.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

General external fact support was released in facter 1.7.0, however,
executable external facts (.ps1, .bat, etc) do not work correctly on
windows until facter 1.7.3[1]. Try using the latest puppet version[2].

Josh

[1] http://projects.puppetlabs.com/issues/22077
[2] https://downloads.puppetlabs.com/windows/puppet-3.3.1.msi

-- 
Josh Cooper
Developer, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to