From owner-freebsd-ports@FreeBSD.ORG Wed May 2 14:24:08 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 260D8106566B for ; Wed, 2 May 2012 14:24:08 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id EAD718FC14 for ; Wed, 2 May 2012 14:24:07 +0000 (UTC) Received: from 24-181-237-39.dhcp.oxfr.ma.charter.com ([24.181.237.39] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1SPaT8-0006zv-7R; Wed, 02 May 2012 10:24:01 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) by Gregory-Larkins-iMac.local (Postfix) with ESMTP id D2368119A4AC; Wed, 2 May 2012 10:23:49 -0400 (EDT) Message-ID: <4FA14375.2090106@FreeBSD.org> Date: Wed, 02 May 2012 10:23:49 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Kaya Saman References: In-Reply-To: X-Enigmail-Version: 1.4.1 X-SA-Exim-Connect-IP: 24.181.237.39 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, TVD_RCVD_IP autolearn=no version=3.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-ports@freebsd.org Subject: Re: Puppet port - Dashboard guide or config reference X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 14:24:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 5/2/12 10:06 AM, Kaya Saman wrote: > Hi, > > I've managed to get Puppet up and running on FreeBSD 8.2 which I > built from ports.... however, I am having difficulty in finding > documentation on how to get the Dashboard up and running. > > I am totally new to Puppet though not to FreeBSD, so I've managed > to hack through quite a bit already and got basic functionality - > my test client syncs up! woohoo :-) > > Can anyone give me a hand or a hint as to where a good Doc on the > web gui is:? Unfortunately the puppetlabs site isn't much help in > that respect (unless I missed it?). > > Regards, Kaya Hello Kaya, What a coincidence - I recently installed Puppet Dashboard on a FreeBSD machine here as part of a Puppet deployment, and I have an item on my list to add it to the ports tree in the near future. I used the following link to help me get it running: http://docs.puppetlabs.com/dashboard/manual/1.2/index.html It was reasonably difficult for a non-Ruby-fluent person like me to get the dashboard running, though. I had a lot of problems with the Ruby bits packaged with the dashboard ("vendors" directory) conflicting with ports I already had installed, and I eventually manually installed some specific versions of required gems. I hope there's a way to use the ports tree to install the correct dependencies, and I'll figure that out as I get into the port development. If you want to exchange tips, ideas, roadblocks, etc. for implementing Puppet scripts on FreeBSD, I would be happy to do that. We already ran into one tricky problem: - - Spamassassin creates a virtual package when it updates its rules. Puppet can't deal with that because the package has no origin. We eventually figured out that we need to invoke the sa-compile script like so to prevent the package creation: env DISABLE_BSDPAN=1 sa-compile Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEUEARECAAYFAk+hQ3UACgkQ0sRouByUApDBdgCffLQ1AA/Exa3fLypk9sw4Y12D +8QAmJEJVgswZ4ZQ8WxGE6HYPr1lv1c= =X9z8 -----END PGP SIGNATURE-----