Issue #23321 has been reported by cristian falcas.

----------------------------------------
Feature #23321: sort classfile
https://projects.puppetlabs.com/issues/23321

* Author: cristian falcas
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
It's more easy to look over sorted information, so I would like to ask as a 
future to sort the classdes from classfile. I don't know how to write a patch, 
but it should be only this:

in /usr/lib/ruby/site_ruby/1.8/puppet/resource/catalog.rb

change

 ::File.open(Puppet[:classfile], "w") do |f|
  f.puts classes.join("\n")

to

 ::File.open(Puppet[:classfile], "w") do |f|
  f.puts classes.sort.join("\n")



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to