help-cfengine
[Top][All Lists]
Advanced

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

Re: problem with size of embedded command in cfengine 2.1.14


From: Ed Brown
Subject: Re: problem with size of embedded command in cfengine 2.1.14
Date: Thu, 30 Jun 2005 12:12:20 -0600

> shellcommands:
>    OracleClient::
>      "/usr/bin/yum install -y yada yada-lib yada-jdbc yada-etc"

Before someone else says it, adding a test for even one of the packages
in the subset might be a good idea:

packages:
   yada elsedefine=needs_yada
shellcommands:
  OracleClient.needs_yada::
    "yum ..."

My main point is that if this is an isolated case because of an
unusually long install list, it might be best to handle it simply,
rather than rewrite all your packages sections to use a wrapper instead
of 'action=install'.

-Ed





reply via email to

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