there are a number of ways to determine if a class should be applied to a client. If you gave us an example of the actual condition, not just an abstract, we might be able to provide better ideas for you.
--- Thanks, Allan Marcus 505-667-5666 On Oct 12, 2009, at 3:01 AM, william Famy wrote: > Hi. > > II am trying puppet after cfengine and I am looking for a method to > use a class if a file exist. > > exemple > > I have a condition class. > I have to create on the server the condition class but i do not want > to have it execute on every client. It is not easy for me to set on > the server the condition to execute the class. > > I prefer runing class on my client if thereis a file exemple if the > file /etc/mypuppet/condition is present execute the condition class. > > Is it possible? > How can i do it? > > > thanks for your help. > > regards > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
