[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AllowRedefinitionOf
From: |
Mark Burgess |
Subject: |
Re: AllowRedefinitionOf |
Date: |
Thu, 20 Mar 2003 11:00:36 +0100 (MET) |
On 28 Feb, Luke A. Kanies wrote:
> Hi all,
>
> I've got a short cfengine script that behaves differently when running
> as root vs. another user:
>
> control:
>
> AllowRedefinitionOf = ( test )
>
> actionsequence = ( shellcommands )
>
> test = ( "THIS" )
> test = ( "IS" )
>
> shellcommands:
> "/bin/echo [$$] ${test}"
>
> When this runs as root, I get:
>
> sycamore:tmp/cftest2:10: Warning: Redefinition of macro test=IS
>
> but when running as a normal user, I don't get that error.
>
> Is there something I'm doing wrong here, or is this a bug that's been
> fixed in 2.0.5 or something? I feel kinda retarded, because I know
> this is supposed to work, but every machine on my network is
> generating output with this warning, and it's starting to get to me.
>
> Thanks,
> Luke
>
I have checked this out with my current version and this error does not
occur for me. I am not sure that I understand why you have been seeing
a problem.
Will pub a beta for testing at http://www.cfengine.org. Please check it
out.
M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: AllowRedefinitionOf,
Mark Burgess <=