[Puppet Users] External Facts on Windows with Powershell

Grant Trevor
Tue, 09 Apr 2013 15:44:38 -0000

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 puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.