From owner-freebsd-stable@FreeBSD.ORG Mon Mar 7 16:40:57 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 157FD106564A for ; Mon, 7 Mar 2011 16:40:57 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 990678FC08 for ; Mon, 7 Mar 2011 16:40:56 +0000 (UTC) Received: by wyb32 with SMTP id 32so5004301wyb.13 for ; Mon, 07 Mar 2011 08:40:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=XFuABydHmqgzaoJtsMo8shq2HvTczKpXgfnc8qLZ/2w=; b=QPW9P6cU45As/c5RdkvELMQEvq17F8nnSJdF5MciOycACG1XPOEqhCRtKpsIvkIjYP fL97ZTbh2vCo8rRpz8TBLsDvW5LBq+gRpjf3A325t1C48iJMT1ZQz/RtTTfNiaYO5Zkz fEwk4tZnpxmQkuQu38Nf7H3pRt9X+KzZRK8t8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Rb7msRV+KPvhXGRpXA8UakBYHtw+RHx+YcZIApti4igijmPre8exm2ph7fM86k2RzO yMc25usUxf3EncuOiKsxhybX5F8i0+tmOTpxTw4xBClHVDcbk5AazUZxNi+B/O7FVF9T dKD5q5jarSeSskSEbGQ7DOvVN05R5EM3MPZF4= MIME-Version: 1.0 Received: by 10.227.198.206 with SMTP id ep14mr2312519wbb.174.1299516055351; Mon, 07 Mar 2011 08:40:55 -0800 (PST) Received: by 10.227.143.21 with HTTP; Mon, 7 Mar 2011 08:40:54 -0800 (PST) In-Reply-To: <20110306180859.GA18399@lava.net> References: <20110305150436.GA2175@fbsd.t60.cpu> <20110305154817.GQ30336@core.byshenk.net> <4D72A069.90104@FreeBSD.org> <20110306010015.GC4160@fbsd.t60.cpu> <20110306011433.GA21857@fbsd.t60.cpu> <20110306020917.GA90894@fbsd.t60.cpu> <20110306140628.GS30336@core.byshenk.net> <20110306180859.GA18399@lava.net> Date: Mon, 7 Mar 2011 18:40:54 +0200 Message-ID: From: Marin Atanasov Nikolov To: Greg Byshenk , Yue Wu , ml-freebsd-stable Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Clifton Royston Subject: Re: Question about packages installed via `pkg_add -r` X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2011 16:40:57 -0000 On Sun, Mar 6, 2011 at 8:08 PM, Clifton Royston wrote: > On Sun, Mar 06, 2011 at 03:06:28PM +0100, Greg Byshenk wrote: >> On Sun, Mar 06, 2011 at 10:09:17AM +0800, Yue Wu wrote: >> > ports with portmaster makes pkg installation mangement be much more >> > flexiable and more friendly than package by pkg_add -r on FreeBSD, >> > except that ports take much more time and resource. After trying with >> > packages, I think I have to stick to ports. >> >> As suggested by some of the other comments, you can choose to use >> portmaster with packages, if you prefer not to do local builds. >> >> In my own case, I use ports and packages, via portmaster. That is, >> I use one machine to build locally-configured packages (in some >> cases with non-standard options), and then install them on the rest >> of the machines as packages. It works very well in my environment. > > =A0I second this approach if you are managing more than one machine. > Once I got this approach working, we used to do this when I was working > on a spam filtering solution, and also at my ISP. =A0It greatly > simplifies and reduces the time spent managing a multi-machine > environment; it works even better when you're handling steps like > deploying from a test environment into a production environment. =A0You > can even go a step further to define and create your own packages > containing sets of configuration files you want to deploy in > conjunction with the binaries. > I would go even further improving that setup and make a fully automated environment using something like this: [ VCS ] ---> [ Cfengine 2/3 Server ] / | \ / | \ / | \ [ System 1 ] [ System 2 ] [ System N ] Somewhere in the above picture we have as well Tinderbox'es building our packages and uploading them to a local FTP server. When you need to upgrade a package on multiple (or even all) systems/jails, you just update the Cfengine 2/3 configuration and that's all. This would greatly reduce the time and effort to keep your systems updated. Regards, Marin > =A0-- Clifton > > -- > =A0 =A0Clifton Royston =A0-- =A0cliftonr@iandicomputing.com / cliftonr@la= va.net > =A0 =A0 =A0 President =A0- I and I Computing * http://www.iandicomputing.= com/ > =A0Custom programming, network design, systems and network consulting ser= vices > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > --=20 Marin Atanasov Nikolov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org http://www.unix-heaven.org/