is the classes section from Puppet::Node accessible at parse time? example: from yaml/node/supercoolmanchine.super.cool.place.yaml classes: - workstation - httpd - dev can I access this list from within puppet manifests? thanks, Dan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Luke Kanies
2009-Sep-09 23:20 UTC
[Puppet Users] Re: classes param avaible at compile time?
On Sep 8, 2009, at 6:29 AM, Dan Bode wrote:> is the classes section from Puppet::Node accessible at parse time? > > example: > > from yaml/node/supercoolmanchine.super.cool.place.yaml > > classes: > - workstation > - httpd > - dev > > can I access this list from within puppet manifests?Hmm. No; no one''s ever asked for it. It''s in memory, so it wouldn''t be hard to add a function for it, I think. -- Fallacies do not cease to be fallacies because they become fashions. --G. K. Chesterton --------------------------------------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---