[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dest= with spaces in it
From: |
Jonathan H. Landis |
Subject: |
dest= with spaces in it |
Date: |
Mon, 12 Feb 2001 16:54:27 -0500 |
User-agent: |
Mutt/1.2.5i |
Hello,
I must say that I've found cfengine works wonderfully for the most part.
I can't seem to be able to use 'copy:' the way I want to.
I'm trying to use a dest=$(value) where value is a directory name that contains
space characters.
I appears to me that cfengine is expanding the variable and treating it like
the identifier's boundary.
Here's an example: I want to copy files from '/u0/jlandis/tmp/dir' to
'/u0/jlandis/tmp/foo bar/'.
control:
actionsequence = ( copy )
prefix = ( "/u0/jlandis" )
copy:
$(prefix)/tmp/dir/ dest=$(prefix)/tmp/foo$(spc)bar/ recurse=2
resulting output:
GNU Configuration Engine -
cfengine-1.5.3
Free Software Foundation 1995, 1996, 1997
Donated by Mark Burgess, Centre of Science and Technology
Faculty of Engineering, Oslo College, 0254 Oslo, Norway
------------------------------------------------------------------------
Host name is: burrito.kendall.akamai.com
Operating System Type is linux
Operating System Release is 2.2.18pre21
Architecture = i686
Using internal soft-class linux for host burrito.kendall.akamai.com
The time is now Mon Feb 12 16:48:50 2001
------------------------------------------------------------------------
Additional hard class defined as: 32_bit
Additional hard class defined as: linux_2.2.18pre21
Additional hard class defined as: linux_i686
Additional hard class defined as: linux_i686_2.2.18pre21
Additional hard class defined as:
linux_i686_2_2_18pre21__1_Mon_Dec_11_17_33_49_EST_2000
GNU autoconf class from compile time: linux-gnu
Careful with this - it might not be correct at run time if you have
several OS versions with binary compatibilty!
Address given by nameserver: 172.24.25.221
burrito.kendall.akamai.com: No preconfiguration file
Secure copying is not possible without libcrypto from OpenSSL
Accepted domain name: kendall.akamai.com
Defined Classes = ( any debian linux burrito_kendall_akamai_com
kendall_akamai_com burrito Monday Hr16 Min48 Min45_50 Day12 February Yr2001
32_bit linux_2_2_18pre21 linux_i686 linux_i686_2_2_18pre21
linux_i686_2_2_18pre21__1_Mon_Dec_11_17_33_49_EST_2000 linux_gnu 172_24_25
172_24_25_221 )
Negated Classes = ( )
Installable classes = ( )
Global expiry time for locks: 120 minutes
Global anti-spam elapse time: 0 minutes
Extensions which should not be directories = ( )
Suspicious filenames to be warned about = ( )
cfengine -n: Running in ``All talk and no action'' mode
(Not root user...)
---------------------------------------------------------------------
Checking file images:
---------------------------------------------------------------------
Checking copy from localhost:/u0/jlandis/tmp/dir/ to /u0/jlandis/tmp/foo
cfengine:burrito: /u0/jlandis/tmp/foo/dir_file wasn't at destination
cfengine:burrito: Copying from localhost:/u0/jlandis/tmp/dir/dir_file
cfengine:burrito: copy from /u0/jlandis/tmp/dir/dir_file to
/u0/jlandis/tmp/foo/dir_file
As you may notice it is using '/u0/jlandis/tmp/foo/' instead of
'/u0/jlandis/tmp/foo bar/'
I'm using a debian linux (potato) system. I've tried this with the debian
package of cfengine and a version compiled from source (version 1.6.2) and
they both had the same problem. Is there a way to have a dest that contains
spaces?
Thanks for your assistance,
Jon
--
Jonathan Landis
Akamai Technologies
Service Delivery Engineer, (617) 250-4649
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- dest= with spaces in it,
Jonathan H. Landis <=