Ask Your Question

Provider windows is not functional on this host (Windows 2008)

asked 2013-06-11 05:10:40 -0600

Emilio gravatar image

updated 2013-06-11 05:11:09 -0600

In a Windows 2008 SP2 (puppet client 3.2.1) This is my service definition:

    service { 'nscp':
            ensure    => 'running',
            provider=> "windows",

This is my error:

/Stage[main]/Windows::Nsclient/Service[nscp] Provider windows is not functional on this host

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-11 11:58:58 -0600

GregLarkin gravatar image

Do you have any custom facts that set ENV['PATH'] in your Puppet environment? If so, please check if any of them mistakenly set PATH for all OS variants, instead of just non-Windows ones.

If you don't think that's the issue, please open a command window with "start command prompt with puppet", run the following commands and paste the output back here:

ruby -e "require 'puppet'; puts Puppet::Util.which('net.exe')" 

puppet agent --configprint path

ruby -e "puts File::ALT_SEPARATOR"

Also, have you set the path explicitly in puppet.conf?

edit flag offensive delete link more


Thanks Greg.. I have found the problem. One of my facts was bad programed and the ENV['PATH'] was overwrited when executed on a windows client. Thanks to google.

Emilio gravatar imageEmilio ( 2013-06-11 12:40:14 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-06-11 05:10:40 -0600

Seen: 248 times

Last updated: Jun 11 '13