Hi, I''ve stumbled across the following behavior which I don''t really understand: classes that are automatically "imported" (thanks to modulepath, ...) are not "really/fully" included. If I iterate over the classes and tags variables in a template: <% classes.each do |c| -%> Class: <%= c %> <% end -%> I won''t see classes that are included but that weren''t explicitly imported. Looks like the same goes for tags. Is it really that way or did I miss something when writing my manifests ? What''s the rationale behind this ? Thanks! Guillaume (import !) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Feb 5, 2009, at 6:50 AM, Calimero wrote:> > Hi, > > I''ve stumbled across the following behavior which I don''t really > understand: classes that are automatically "imported" (thanks to > modulepath, ...) are not "really/fully" included. > > If I iterate over the classes and tags variables in a template: > <% classes.each do |c| -%> > Class: <%= c %> > <% end -%> > > I won''t see classes that are included but that weren''t explicitly > imported. Looks like the same goes for tags. > > Is it really that way or did I miss something when writing my > manifests ? > > What''s the rationale behind this ?It might just be an ordering thing - auto-imported classes certainly use exactly the same code internally that any other classes use. Check your classes.txt file on the client - I''m sure the classes are in there. We''re trying to clarify some ordering issues right now. -- We are here on Earth to do good to others. What the others are here for, I don''t know. -- W. H. Auden --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On 5 fév, 16:53, Luke Kanies <l...@madstop.com> wrote:> It might just be an ordering thing - auto-imported classes certainly > use exactly the same code internally that any other classes use. > > Check your classes.txt file on the client - I''m sure the classes are > in there.You''re right. All classes are found in classes.txt.> We''re trying to clarify some ordering issues right now.OK. I''m going to explicitely import classes. Thanks ! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---