summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2009-11-02 19:24:48 +0100
committerJames Turnbull <james@lovedthanlost.net>2009-11-05 13:51:59 +1100
commit5b750c225ff0c646341282aa867d92dbe15509cd (patch)
tree5f4eed21d17a925d31e9f14ffcb837d002d070ef /lib
parenteca338c9fa78e1750bf70c034b1c211d8a0872d3 (diff)
downloadpuppet-5b750c225ff0c646341282aa867d92dbe15509cd.tar.gz
puppet-5b750c225ff0c646341282aa867d92dbe15509cd.tar.xz
puppet-5b750c225ff0c646341282aa867d92dbe15509cd.zip
Fix #2769 - default schedule are not defined
It seems we never finalize the catalog, so the various default resources are never created including the default schedules. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/configurer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/configurer.rb b/lib/puppet/configurer.rb
index afe56c77e..12726e778 100644
--- a/lib/puppet/configurer.rb
+++ b/lib/puppet/configurer.rb
@@ -123,6 +123,7 @@ class Puppet::Configurer
# Convert a plain resource catalog into our full host catalog.
def convert_catalog(result, duration)
catalog = result.to_ral
+ catalog.finalize
catalog.retrieval_duration = duration
catalog.host_config = true
catalog.write_class_file