# File lib/puppet/dsl.rb, line 75 75: def export 76: objects = Puppet::DSL::Aspect.collect do |name, aspect| 77: if aspect.evaluated? 78: aspect.export 79: end 80: end.reject { |a| a.nil? }.flatten.collect do |obj| 81: obj.to_trans 82: end 83: bucket = Puppet::TransBucket.new(objects) 84: bucket.name = "top" 85: bucket.type = "class" 86: 87: return bucket 88: end