summaryrefslogtreecommitdiffstats
path: root/test/puppet
diff options
context:
space:
mode:
authorlutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-07 22:20:51 +0000
committerlutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-07 22:20:51 +0000
commitfde8b285584ce33d6b72f8d52614330f54807d65 (patch)
tree8854d51fadda58ce834933e768ee80f669be75d1 /test/puppet
parent7e41d436fe343103b67d7078c08c3ec444ea0aa7 (diff)
downloadpuppet-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
Diffstat (limited to 'test/puppet')
-rwxr-xr-xtest/puppet/conffiles.rb9
1 files changed, 9 insertions, 0 deletions
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$