help-cfengine
[Top][All Lists]
Advanced

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

Re: editfiles: DefineClasses can't be used in multiple BeginGroupIfNoSuc


From: Hugo Gayosso
Subject: Re: editfiles: DefineClasses can't be used in multiple BeginGroupIfNoSuchLine
Date: 29 May 2002 16:22:20 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

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


[ Moved to help-cfengine, and Cc: Tim (in case you are not
  subscribed)]


Tim Auckland <Tim.Auckland@procket.com> writes:

> I'm doing something similar, but most of the work is offloaded into a
> script.  I have static cfengine classes grouping my systems into a
> number of "staging" levels, and for each OS and each level I have a dir
> full of packages that should be installed on systems of that OS and
> level.

I have been using a similar approach in the sense that I have specific
directories that host packages (actually, softlinks to the real
packages in the software depot) for specific class of hosts.

One of the differences is that I am lazy, and just ran "rpm -Uv *"
:-)


There is something I don't like about my setup:

  - I have to maintain the directories:
      Create/delete links to the real packages whenever I upgrade one.
      Of course cfengine helps here, but I need to update its
      configuration too.

Another thing I don't like from my setup (and in this case from yours
too), is to blindly install whatever is in the directory.

So, after seeing your solution and re-thinking mine I think I will try
yet another approach.

I have not implemented it yet, I am still in the drawing board, I will
get back to the list as soon as I have it working.


Thanks for the advice!

- -- 
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

iD8DBQE89Th8x2JZtTN6co8RAjk+AJ0e9iltQNF24XZtP4YAJSFg6AQWpgCfWY7I
FIgKhJoAnnYdoTMaN0v5zA8=
=EFTT
-----END PGP SIGNATURE-----



reply via email to

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