Hi Robert,
You should try this. Let make it done sequently.
classes:
SRV_APACHE_STANDALONE::
"isdir" expression => isdir("/var/www");
files:
SRV_APACHE_STANDALONE.isdir::
# make sure that there is /srv directory
"/srv/."
cre
Hi Brendan,
Brendan Strejcek wrote:
> I think you want this:
>
> http://www.cfengine.org/manuals/cf3-reference.html#move_005fobstructions-in-files
thanks for trying to help me, but unfortunately the error message
persists. Hmm... another idea?
Here's the latest version (not working):
classes:
I think you want this:
http://www.cfengine.org/manuals/cf3-reference.html#move_005fobstructions-in-files
On Mon, Dec 21, 2009 at 3:43 PM, Robert Markula wrote:
> Hi again,
>
> Brendan Strejcek wrote:
>> Set classes based on what kind of file /srv/www is.
>>
>> http://www.cfengine.org/manuals/cf3
Hi again,
Brendan Strejcek wrote:
> Set classes based on what kind of file /srv/www is.
>
> http://www.cfengine.org/manuals/cf3-reference.html#Function-islink
> http://www.cfengine.org/manuals/cf3-reference.html#Function-isplain
> http://www.cfengine.org/manuals/cf3-reference.html#Function-isdir
Hi Brendan,
Brendan Strejcek wrote:
> Set classes based on what kind of file /srv/www is.
>
> http://www.cfengine.org/manuals/cf3-reference.html#Function-islink
> http://www.cfengine.org/manuals/cf3-reference.html#Function-isplain
> http://www.cfengine.org/manuals/cf3-reference.html#Function-isdi
Set classes based on what kind of file /srv/www is.
http://www.cfengine.org/manuals/cf3-reference.html#Function-islink
http://www.cfengine.org/manuals/cf3-reference.html#Function-isplain
http://www.cfengine.org/manuals/cf3-reference.html#Function-isdir
Conditionals should allow you to avoid any r