summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-08-30 00:13:53 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-08-30 00:13:53 +0000
commit998b4155dfc7a783b6dba5beafa272b579e98381 (patch)
tree6d815be734b2461d912b0e3b5b42ba12c3c82de5 /test
parent7f274a4c53a676ab471a823b4d281d7708edf70d (diff)
correcting documentation on autosign in puppetmasterd, and switching the autosign.conf file to use the same authstore as fileserver.conf
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@609 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test')
-rw-r--r--test/server/tc_ca.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/server/tc_ca.rb b/test/server/tc_ca.rb
index e3f768b39..de1ed0963 100644
--- a/test/server/tc_ca.rb
+++ b/test/server/tc_ca.rb
@@ -204,8 +204,7 @@ class TestCA < Test::Unit::TestCase
@@tmpfiles << autosign
File.open(autosign, "w") { |f|
f.puts "hostmatch.domain.com"
- f.puts ".+.other.com"
- f.puts "hostname.+"
+ f.puts "*.other.com"
}
caserv = nil
@@ -216,8 +215,6 @@ class TestCA < Test::Unit::TestCase
assert(caserv.autosign?("hostmatch.domain.com"))
assert(caserv.autosign?("fakehost.other.com"))
- assert(caserv.autosign?("hostname.rahtest.boo"))
- assert(caserv.autosign?("hostname.com")) # a tricky one
assert(!caserv.autosign?("kirby.reductivelabs.com"))
assert(!caserv.autosign?("culain.domain.com"))
end