# nit_directory_installed windows platform fact which check
# if auxiliary NIT directories is Installed

Facter.add(:nit_directory_installed) do
  confine :osfamily  => "Windows"  # Только для Windows
  setcode do
	anUtilPath = Dir.exist?("c:\\Util")
	aZlovredPath = Dir.exist?("c:\\pub1\\Distrib\\Zlovred")
	
	{
		'UtilPathExist' => anUtilPath,
		'ZlovredPathExist' => aZlovredPath
	}
  end
end

