From owner-freebsd-questions@FreeBSD.ORG Wed Apr 21 18:49:18 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 50ED2106566B for ; Wed, 21 Apr 2010 18:49:18 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2A4D08FC18 for ; Wed, 21 Apr 2010 18:49:17 +0000 (UTC) Received: (qmail 29496 invoked from network); 21 Apr 2010 18:49:17 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 21 Apr 2010 18:49:17 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 6278450885; Wed, 21 Apr 2010 14:49:16 -0400 (EDT) From: Lowell Gilbert To: Atom Powers References: Date: Wed, 21 Apr 2010 14:49:16 -0400 In-Reply-To: (Atom Powers's message of "Wed, 21 Apr 2010 10:06:23 -0700") Message-ID: <44r5m863pv.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: Upgrade/Install in one command? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 18:49:18 -0000 Atom Powers writes: > 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. The '-N' option for portupgrade doesn't do what you want? > How do you manage packages on a large number of FreeBSD hosts? I have a small number, but I still follow the build server approach... -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/