bug-cfengine
[Top][All Lists]
Advanced

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

editfiles: DefineClasses, only the first one is used.


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

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


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

iD8DBQE89RoKx2JZtTN6co8RArS0AJ9SoCY4kF8dJzfZLwYMG77IzAckaACfTVKT
0eHGv3n4+W+lS17pmPdP39U=
=J4rH
-----END PGP SIGNATURE-----



reply via email to

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