Shouldn't we just s/$vardir\/facts/$vardir\/lib\/facter/g?

On Apr 23, 2010, at 11:05 AM, James Turnbull wrote:


Signed-off-by: James Turnbull <ja...@lovedthanlost.net>
---
lib/puppet/defaults.rb |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb
index d333535..2bfb0be 100644
--- a/lib/puppet/defaults.rb
+++ b/lib/puppet/defaults.rb
@@ -632,7 +632,7 @@ module Puppet

    # Central fact information.
    self.setdefaults(:main,
-        :factpath => {:default => "$vardir/facts/",
+ :factpath => {:default => "$vardir/lib/facter/:$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.
--
1.6.6.1

--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to puppet-...@googlegroups.com.
To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en .



--
The most dangerous strategy is to jump a chasm in two leaps.
    -- Benjamin Disraeli
---------------------------------------------------------------------
Luke Kanies  -|-   http://puppetlabs.com   -|-   +1(615)594-8199

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To post to this group, send email to puppet-...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to