]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Apparently facts can't have '-' in them
authorStephen Gran <steve@lobefin.net>
Sun, 15 Mar 2009 17:03:24 +0000 (17:03 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 15 Mar 2009 17:03:24 +0000 (17:03 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
facts/software.rb
templates/exim-test.erb

index fc922bb2bd1a6c01bcf88ea6db0653a14256a85b..fed40d8acfbe31966802eaf9dc1d858ed97961db 100644 (file)
@@ -38,7 +38,7 @@ Facter.add("greylistd") do
                FileTest.exist?("/usr/sbin/greylistd")
        end
 end
-Facter.add("policyd-weight") do
+Facter.add("policydweight") do
        setcode do
                FileTest.exist?("/usr/sbin/policyd-weight")
        end
index fbbe3be031b5cdffbee1e0f147d727c0ebdd026c..bae5d01c901fa0a63ef8f1fba11a7a988aa155f9 100644 (file)
@@ -16,7 +16,7 @@ HAVE_GREYLIST = 1
 # HAVE_GREYLIST is undefined
 # USE_GREYLISTING is undefined
 <% end -%>
-<% if has_variable?("policyd-weight") && policyd-weight == "true" -%>
+<% if has_variable?("policydweight") && policydweight == "true" -%>
 HAVE_POLICYD = 1
 <% else -%>
 # HAVE_POLICYD is undefined