From owner-freebsd-questions@FreeBSD.ORG Wed Apr 21 17:35:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F16AE106566C for ; Wed, 21 Apr 2010 17:35:13 +0000 (UTC) (envelope-from atom.powers@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id B006A8FC1E for ; Wed, 21 Apr 2010 17:35:13 +0000 (UTC) Received: by qyk11 with SMTP id 11so8453043qyk.13 for ; Wed, 21 Apr 2010 10:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=poS8i5UrmhzNpUOKSkM4lyTm3VqegxElpzBLlimUs7I=; b=VAZWrQzJlUFZMkgKNN0GbAJ584Gxmy/BmV+j5AScDG4Mx611DJwhIod5ZSGFOkXX1d hlmCldAPUI7/NLF/hcjw3HTlr+Og+/NjjPRmKOoosbcfdjXJqPaTTMikpdMyjaSumBym uuigFSGKoV/m9xLYjgHSGJgEqBZM9FPpoX1Sw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UEtzuiKvKXdNq+3dM1wWfbR6FDKh11TKYomvXM3jtH7Fe/XBzM/4JwovCma5VBIZ0w cek3OAgTLoTypbX+OggjL/76HZr80gip5mVQ97aVa8C3s2uM/G2ymlSXCKOSEnz3YdUg Pdr/mu1Y3qZe+58OQjDkAR0fFcdZksFOe31LM= MIME-Version: 1.0 Received: by 10.229.220.209 with HTTP; Wed, 21 Apr 2010 10:06:23 -0700 (PDT) Date: Wed, 21 Apr 2010 10:06:23 -0700 Received: by 10.229.88.72 with SMTP id z8mr546326qcl.3.1271869583192; Wed, 21 Apr 2010 10:06:23 -0700 (PDT) Message-ID: From: Atom Powers To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Subject: Upgrade/Install in one command? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 17:35:14 -0000 I would like to make my configuration management system update and/or install packages on FreeBSD. I've been avoiding that little thorn because I haven't had very many hosts and updates have been fairly rare recently; but no more. (cfengine2) Basically, I wish pkg_add would upgrade a package if it was already installed; of that portupgrade would install a package if it was missing. Neither seem to work. How do you manage packages on a large number of FreeBSD hosts? -- Perfection is just a word I use occasionally with mustard. --Atom Powers--