Every class you create is a tag. So:
if tagged('myclass') { $myvar = "hello" } One caveat, is the class order can matter if the tag exists yet or not. http://projects.reductivelabs.com/issues/2105 -L -- Larry Ludwig Reductive Labs --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---