windows facter hostname gives me "command not found"
I am setting up 17 new Windows 2012 servers with puppet, but just one of them fails. Going to that server, when I type faccter hostname, I get this:
could not retrieve fact='hostname', resolution='(anonymous)': Could not execute 'hostname': command not found
a commandline hostname works, nslookup hostname works. All of the other systems work fine with the same puppet (3.7.3). I tried reinstalling Puppet and that did no good. I am assuming it is not a Puppet problem per se, however, I don't know why it would not find the path it needs for hostname.