From 1d98e679a040627bc4865453f147bc03f64140fe Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Fri, 21 May 2010 13:42:04 +0200 Subject: Adapt defaults to Win32 environment This needs the workaround from http://rubyforge.org/tracker/index.php?func=detail&aid=28206&group_id=85&atid=411 --- lib/puppet/defaults.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/defaults.rb') diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb index f77427583..775e26ad9 100644 --- a/lib/puppet/defaults.rb +++ b/lib/puppet/defaults.rb @@ -611,7 +611,7 @@ module Puppet # Central fact information. setdefaults(:main, - :factpath => {:default => "$vardir/lib/facter/:$vardir/facts", + :factpath => {:default => "$vardir/lib/facter/${File::PATH_SEPARATOR}$vardir/facts", :desc => "Where Puppet should look for facts. Multiple directories should be colon-separated, like normal PATH variables.", :call_on_define => true, # Call our hook with the default value, so we always get the value added to facter. -- cgit