-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Proposed Solution II: restrict the contents of autoloaded files > --------------------------------------------------------------- > > [...] > > Pros: > > - This eliminates most sources of inconsistencies and order > dependencies by formalizing a relationship between files and > classes that most users are probably following anyway. > > - It eliminates the remaining sources of inconsistencies and > order dependencies by making a small change to search order > that is unlikely to affect most users. > > - It forces users to follow a naming convention that will help > them to organize their manifests well.
This is something that a few people would see as a con, but I would say it's a big plus. > Cons: > > - This does not address any performance issues with autoloading. > > - Potentially large user impact. Unconventionally structured > manifests that worked in 0.25 and 2.6 may require substantial > renaming / relocation of classes in order to meet the new file > organization requirements. (However, users can work around > this using explicit imports.) Given that this is already now an unpredictable behavior of puppet and as I think it is generally already now a good idea to get rid of global resources in files that are autoloaded I would say that we could live with that cons. There is no global resource definition that couldn't be refactored in a class. Furthermore, if there is a big warning that this won't anymore work on the next version I think we are also fine to do that. > Proposed Solution III: eliminate the autoloading feature > -------------------------------------------------------- no way. I didn't say anything to solution I as I think II is my preferred solution hence I would prefer choosing II over I. thanks for the proposal. pete -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyR344ACgkQbwltcAfKi38FWwCeI2Uq5eMGEub7xZIffg1upH6P DiAAn0MavpJzvXAzo5268wUv04Vsj3Ps =q4zU -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
