summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-04 06:54:54 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-01-04 06:54:54 +0000
commit2b271f8ab5853a6b48de14ca52a20979c96d42a4 (patch)
tree43b668dc11deec8fe0c084befe2db0ea7301493c
parentf4b2e13dfbfa00c40400d979275b6b98bff05f4f (diff)
#398 is already fixed, but this will fix things so it cannot happen again
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2035 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--lib/puppet/config.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/config.rb b/lib/puppet/config.rb
index 10a2198f8..bffcfbd48 100644
--- a/lib/puppet/config.rb
+++ b/lib/puppet/config.rb
@@ -748,6 +748,10 @@ Generated on #{Time.now}.
self.send(method, value)
end
+
+ unless self.desc
+ raise ArgumentError, "You must provide a description for the %s config option" % self.name
+ end
end
def iscreated