| Subject: | Directories action - only create if parents exist |
|---|---|
| From: | "Mark" |
| Date: | Tue, 27 Sep 2005 16:35:06 -0700 |
| Newsgroups: | gnu.cfengine.help |
Hi,
I use this directories-action:
/usr/java/tomcat/logs
mode=775
owner=root
group=root
However, I only want /usr/java/tomcat/logs to be created if /usr/java/tomcat
already exists.
Is there a parameter that lets me specify this?? I know I can use FileExists to
set another class and then only execute the action
if the class is set, but I thought I'd ask if there is a quicker way...
Currently, it creates /usr/java/tomcat as well, which breaks other things
somewhere else.
Thanks,
MARK
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: User management, Martin, Jason H |
|---|---|
| Next by Date: | Re: User management, Jamie Wilkinson |
| Previous by Thread: | IsNewerThan with fudge factor, Martin, Jason H |
| Next by Thread: | copy happening despite my rules., David Cress |
| Indexes: | [Date] [Thread] [Top] [All Lists] |