# File lib/puppet/type.rb, line 1955
1955:     def finish
1956:         # Scheduling has to be done when the whole config is instantiated, so
1957:         # that file order doesn't matter in finding them.
1958:         self.schedule
1959: 
1960:         # Make sure all of our relationships are valid.  Again, must be done
1961:         # when the entire catalog is instantiated.
1962:         self.class.relationship_params.collect do |klass|
1963:             if param = @parameters[klass.name]
1964:                 param.validate_relationship
1965:             end
1966:         end.flatten.reject { |r| r.nil? }
1967:     end