# File lib/puppet/resource/catalog.rb, line 291 291: def make_default_resources 292: # We have to add the resources to the catalog, or else they won't get cleaned up after 293: # the transaction. 294: 295: # First create the default scheduling objects 296: Puppet::Type.type(:schedule).mkdefaultschedules.each { |res| add_resource(res) unless resource(res.ref) } 297: 298: # And filebuckets 299: if bucket = Puppet::Type.type(:filebucket).mkdefaultbucket 300: add_resource(bucket) unless resource(bucket.ref) 301: end 302: end