summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-12-19 14:39:14 -0600
committerLuke Kanies <luke@madstop.com>2007-12-19 14:39:14 -0600
commite4446b64c12eb4f6aefad91c0997960303693d3a (patch)
tree942a27c4d8780aaf3ec1a2c4c20ff748f71ffd45
parentbc0616ee7def99fa26b86ab7d8b0c657e358c1dd (diff)
downloadpuppet-e4446b64c12eb4f6aefad91c0997960303693d3a.tar.gz
puppet-e4446b64c12eb4f6aefad91c0997960303693d3a.tar.xz
puppet-e4446b64c12eb4f6aefad91c0997960303693d3a.zip
Fixing parseonly with a modified version of jay's
patch from #968.
-rwxr-xr-xbin/puppet2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/puppet b/bin/puppet
index 13e99e2a6..055be11c9 100755
--- a/bin/puppet
+++ b/bin/puppet
@@ -198,6 +198,8 @@ begin
# Compile our catalog
catalog = Puppet::Node::Catalog.find(node)
+ exit(0) if Puppet[:parseonly]
+
# Translate it to a RAL catalog
catalog = catalog.to_ral