diff options
author | lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-07 22:20:51 +0000 |
---|---|---|
committer | lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-03-07 22:20:51 +0000 |
commit | fde8b285584ce33d6b72f8d52614330f54807d65 (patch) | |
tree | 8854d51fadda58ce834933e768ee80f669be75d1 | |
parent | 7e41d436fe343103b67d7078c08c3ec444ea0aa7 (diff) | |
download | puppet-fde8b285584ce33d6b72f8d52614330f54807d65.tar.gz puppet-fde8b285584ce33d6b72f8d52614330f54807d65.tar.xz puppet-fde8b285584ce33d6b72f8d52614330f54807d65.zip |
Fix typo in default config and add simple test to check default config sanity
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2261 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r-- | lib/puppet/configuration.rb | 2 | ||||
-rwxr-xr-x | test/puppet/conffiles.rb | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/puppet/configuration.rb b/lib/puppet/configuration.rb index 5764a2139..e4e1a6ec6 100644 --- a/lib/puppet/configuration.rb +++ b/lib/puppet/configuration.rb @@ -206,7 +206,7 @@ module Puppet :ca_server => ["$server", "The server to use for certificate authority requests. It's a separate server because it cannot and does not need to horizontally scale."], - :ca_port => ["$master_port", "The port to use for the certificate authority."] + :ca_port => ["$masterport", "The port to use for the certificate authority."] ) self.setdefaults("filebucket", diff --git a/test/puppet/conffiles.rb b/test/puppet/conffiles.rb index 6336968aa..3dfa53a13 100755 --- a/test/puppet/conffiles.rb +++ b/test/puppet/conffiles.rb @@ -95,6 +95,15 @@ class TestConfFiles < Test::Unit::TestCase } } end + + # Make sure that basic config generation works; this also ensures + # that the default config is free of simple typos etc. + def test_genconfig + assert_nothing_raised { + Puppet::config::to_config + } + end + end # $Id$ |