From owner-freebsd-questions@FreeBSD.ORG Wed Apr 21 18:30:41 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 ACD97106566C for ; Wed, 21 Apr 2010 18:30:41 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2001:470:1f09:679::1]) by mx1.freebsd.org (Postfix) with ESMTP id 739648FC1C for ; Wed, 21 Apr 2010 18:30:41 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id C4F5D81B6; Wed, 21 Apr 2010 18:30:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon.cran.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.8 required=8.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 Received: from core.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Wed, 21 Apr 2010 18:30:40 +0000 (UTC) From: Bruce Cran To: freebsd-questions@freebsd.org Date: Wed, 21 Apr 2010 19:29:56 +0100 User-Agent: KMail/1.13.2 (FreeBSD/9.0-CURRENT; KDE/4.4.2; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201004211929.56759.bruce@cran.org.uk> Cc: Atom Powers Subject: Re: 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 18:30:41 -0000 On Wednesday 21 April 2010 18:06:23 Atom Powers wrote: > 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? I use portmaster, since it seems to mostly DTRT. -- Bruce Cran