[chef] non interactive apt-get install


Chronological Thread 
  • From: snacktime <snacktime@gmail.com>
  • To: chef@lists.opscode.com
  • Subject: [chef] non interactive apt-get install
  • Date: Thu, 2 Jul 2009 00:30:56 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UFk58T+TcRObUsmZqB/HtJ5Hmeqj859Zkxc9j4Xql3sqp0ZKN7Jh3xLt7o6CrQ0Aro 6wKu1VqWMYkiGKvVLUwqv2SoiaEUGCRNQnKa1yOrBds9nj2pM67WrP1gkG9Ue2DpOTRr T32U+G2WUKbX/lqNCKkcg1P+/xlDjq/GtSmd0=

Not chef specific, but this is an issue that breaks a number of cookbooks, such as mysql.

Is there a generic mechanism you can use to force apt-get install to NEVER prompt for input?  I'm guessing not, as different packages have their own requirements.  I tried setting DEBIAN_FRONTEND=noninteractive but it didn't seem to have any effect.

Chris



Archive powered by MHonArc 2.6.16.

§