[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: conditional copy
From: |
Brendan Strejcek |
Subject: |
Re: conditional copy |
Date: |
Wed, 6 Apr 2005 12:33:26 -0500 |
User-agent: |
Mutt/1.5.6+20040907i |
Check out this:
http://lists.gnu.org/archive/html/help-cfengine/2004-12/msg00047.html
Kelly Brown wrote:
> Hello all:
>
> I need help with some syntax.
>
> I want to copy a file first based off of hostname, then off of a class
> name then just a default file.
>
> For example, if my hosts name is bubba and he's in the class webserver
> then I want to first try to copy file.bubba if it exists. If that
> doesn't exist then I want to copy file.webserver. Then if both of those
> don't exist I want to copy file.generic.
>
> Does anybody have a good way to do this?
>
> Thx
> -Kelly
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>
- conditional copy, Kelly Brown, 2005/04/06
- Re: conditional copy,
Brendan Strejcek <=