Date: Sun, 27 Oct 2013 06:37:48 +0100 From: Roland Smith <rsmith@xs4all.nl> To: David Newman <dnewman@networktest.com> Cc: freebsd-questions@freebsd.org Subject: Re: (de)centralized ports management with portsnap Message-ID: <20131027053748.GA53174@slackbox.erewhon.net> In-Reply-To: <526AE110.9030105@networktest.com> References: <526AC748.6010805@networktest.com> <CAHHBGkqRQBcs1RKKaysMgfd8TiuiVgch6PkwB8uF6FRKo%2BUZyA@mail.gmail.com> <526AE110.9030105@networktest.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 25, 2013 at 02:22:24PM -0700, David Newman wrote: > On 10/25/13 2:18 PM, illoai@gmail.com wrote: > > On 25 October 2013 15:32, David Newman <dnewman@networktest.com> wrote: > >> I'm setting up a group of FreeBSD servers that use 'portsnap fetch' and > >> then 'portsnap update' to refresh their ports trees. > >> > >> Can I set up a local master to avoid pulling updates multiple times? If > >> portsnap isn't the right tool for this, what is? > >> > >> Apologies if this has been asked before; this seems like a standard > >> problem, but I didn't see an answer in a web search, the portsnap > >> manpage, or in the Michael W. Lucas FreeBSD book. > >=20 > > It's probably simplest to simply pull with one machine & then use > > rsync or some such to push the updates out to the client machines > > which would then run "portsnap update" as needed. >=20 > Thanks. What directories would get rsync'd over for the updates? Is it > really as simple as just copying over /usr/ports to each machine? If you are fine with having the same software on all machines and assuming they all use the same platform and compatible releases, I'd use portsnap and portmaster to update one master machine. Then distribute /usr/local to all other machines via rsync. You can still configure each machine's /etc/rc.conf to decide which services to run. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --azLHFNyN32YCQGCU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlJspqwACgkQEnfvsMMhpyXL0QCeMvr7anXBvQfZNxIHzCqcTgGc yosAn0nseOQMdw29m2vtjxAJwA1obGiJ =FVWe -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131027053748.GA53174>