I''m a bit confused on the interaction of classes and functions. I have defined two functions, designed to open up permissions in init.d and close them back up again. I have several services I want puppet to be able to ensure are running. Some of the services in init.d rely upon the up state of other services, meaning I cannot rely upon just opening up the permissions on one specific service; I have to open up permissions on the entire dependency chain of services. So, with all of that said, I have those services grouped into a class servicerestart. In that class, I want to make sure that the two defined functions are run before the service restart is attempted; otherwise, the service restart will fail. Is there no way to make sure that the requisite service and its dependent services are opened up, other than to completely define the entire chain of service dependency? If that''s the only way to do it, that''s fine, I just want to know if there is some better way that I am overlooking. 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 -~----------~----~----~----~------~----~------~--~---