This only works in Facter 1.7, what do you get when you run `facter
--version`?

Have you double checked
http://docs.puppetlabs.com/guides/custom_facts.html#enabling-powershell-scriptsto
ensure that the powershell scripts are enabled?

 - Justin



On Tue, Apr 9, 2013 at 8:44 AM, Grant Trevor <[email protected]> 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?
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to