bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: editfiles: DefineClasses, only the first one is used.


From: Hugo Gayosso
Subject: Re: editfiles: DefineClasses, only the first one is used.
Date: 29 May 2002 14:55:07 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Oops, I forgot to give some info:

cfengine-2.0.0
Red Hat 7.2


Hugo Gayosso <address@hidden> writes:

> Given the following:
> 
> editfiles:
>    MyMachine::
>       { /etc/swinstall_serial_number
>          AutoCreate
>          EmptyEntireFilePlease
>          AppendIfNoSuchLine "1"
>          AppendIfNoSuchLine "2"
>          DefineClasses "swinstall_1"
>          DefineClasses "swinstall_2"
>       }
> 
> 
> Only 'swinstall_1' is defined.
> 
> I was expecting that either:
> 
>   1) swinstall_1 AND swinstall_2 were defined
> 
>   or
> 
>   2) swinstall_2 was defined.
> 
> but definitely not that only swinstall_1 was defined.
> 
> 
> I know how I could accomplish 1) so I was more inclined to see 2)
> happen.

- -- 
Hugo Gayosso
Support the Free Software Movement!
GNU Project <http://www.gnu.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE89SQKx2JZtTN6co8RAo9UAKChwHuHrro4VUI8Nv614lMwwzW+sgCg1EV6
XhmepbYoqN8TYvMRFX6RBOg=
=h1wh
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]