Re: Need help creating class within an OS context

2011-05-20 Thread dave first
Thanks for the quick feedback - Okay, I can do a LOT with that. It's much more Cfenginy and scalable. What a difference. Many thanks! On Fri, May 20, 2011 at 2:21 PM, Mark Burgess wrote: > > First, I would alsways use isexecutable("/path/file") over a shell command > test -x, then try someth

Re: Need help creating class within an OS context

2011-05-20 Thread Mark Burgess
First, I would alsways use isexecutable("/path/file") over a shell command test -x, then try something like this: vars: freebsd:: "check_service" string => "/usr/local/libexec/tenant/check_mysql"; linux:: "check_service" string => "/usr/local/lib/tenant/check_mysql"; classes: "