From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C4F031381F3 for ; Fri, 27 Sep 2013 10:37:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 769F9E0EF5; Fri, 27 Sep 2013 10:37:17 +0000 (UTC) Received: from mail-qe0-f46.google.com (mail-qe0-f46.google.com [209.85.128.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 883F6E0E96 for ; Fri, 27 Sep 2013 10:37:16 +0000 (UTC) Received: by mail-qe0-f46.google.com with SMTP id x7so1657527qeu.5 for ; Fri, 27 Sep 2013 03:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xnr7OJ4jiQI/KM/unzhAZ2pNGKZ8a9NZvaNTIrBVFko=; b=ouix6ySt0TdO1RRAc/SohCPcOkjLRY3AFNie+IRR9qBYOlAhyOPFmQyCj1TPHmVLeC GBXqNTJ1Xeja3C1GelZrLb5DX9KA42Bo0HMuow9DfkJ1erasww8Ct8tI3FENjwyT7Eq0 Khojky+YiPYSy77U8UvUs1mHX1bZFhbBgkZdHH1IFiIgiN4d5hQKdE4H8M+dzE5DpWcy qjK0gwPFZqoNJqNET3W1dsNAFDl93BLxyDhJMldLjqIxZcav7dp3raT6U5uX7206ypP4 tJD7swoU0ZoYNZZtP8AFZkmVjMR6VzpMdYA7YUegKkkqTBiq5lg24p5reIxiudDjeZFW 7vJw== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.224.132.5 with SMTP id z5mr12711117qas.78.1380278235734; Fri, 27 Sep 2013 03:37:15 -0700 (PDT) Received: by 10.140.25.83 with HTTP; Fri, 27 Sep 2013 03:37:15 -0700 (PDT) In-Reply-To: <52449C1A.5000306@gmail.com> References: <524358B0.1060000@gmail.com> <52449C1A.5000306@gmail.com> Date: Fri, 27 Sep 2013 03:37:15 -0700 Message-ID: Subject: Re: [gentoo-user] Managing multiple systems with identical hardware From: Grant To: Gentoo mailing list Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 233513e3-ffc3-43e5-bb05-9ad4140cb732 X-Archives-Hash: aa73d7af9f162714d16ad885586d0079 >> I realized I only need two types of systems in my life. One hosted >> server and bunch of identical laptops. My laptop, my wife's laptop, >> our HTPC, routers, and office workstations could all be on identical >> hardware, and what better choice than a laptop? Extremely >> space-efficient, portable, built-in UPS (battery), and no need to buy >> a separate monitor, keyboard, mouse, speakers, camera, etc. Some >> systems will use all of that stuff and some will use none, but it's >> OK, laptops are getting cheap, and keyboard/mouse/video comes in handy >> once in a while on any system. > > Laptops are a good choice, desktops are almost dead out there, and thin > clients nettops are just dead in the water for anything other than > appliances and media servers > >> What if my laptop is the master system and I install any application >> that any of the other laptops need on my laptop and push its entire >> install to all of the other laptops via rsync whenever it changes? >> The only things that would vary by laptop would be users and >> configuration. > > Could work, but don't push *your* laptop's config to all the other > laptops. they end up with your stuff which might not be what them to > have. Rather have a completely separate area where you store portage > configs, tree, packages and distfiles for laptops/clients and push from > there. I actually do want them all to have my stuff and I want to have all their stuff. That way everything is in sync and I can manage all of them by just managing mine and pushing. How about pushing only portage configs and then letting each of them emerge unattended? I know unattended emerges are the kiss of death but if all of the identical laptops have the same portage config and I emerge everything successfully on my own laptop first, the unattended emerges should be fine. > I'd recommend if you have a decent-ish desktop lying around, you press > that into service as your master build host. yeah, it takes 10% longer > to build stuff, but so what? Do it overnight. Well, my goal is to minimize the number of different systems I maintain. Hopefully just one type of laptop and a server. >> Maybe puppet could help with that? It would almost be >> like my own distro. Some laptops would have stuff installed that they >> don't need but at least they aren't running Fedora! :) > > DO NOT PROVISION GENTOO SYSTEMS FROM PUPPET. OK, I'm thinking over how much variation there would be from laptop to laptop: 1. /etc/runlevels/default/* would vary of course. 2. /etc/conf.d/net would vary for the routers and my laptop which I sometimes use as a router. 3. /etc/hostapd/hostapd.conf under the same conditions as #2. 4. Users and /home would vary but the office workstations could all be identical in this regard. Am I missing anything? I can imagine everything else being totally identical. What could I use to manage these differences? > Rather keep your laptop as your laptop with it's own setup, and > everything else as that own setup. You only need one small difference > between what you want your laptop to have, and everything else to have, > to crash that entire model. I think it will work if I can find a way to manage the few differences above. Am I overlooking any potential issues? - Grant