From owner-freebsd-ports@FreeBSD.ORG Fri May 31 11:54:01 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9344D9C for ; Fri, 31 May 2013 11:54:01 +0000 (UTC) (envelope-from bw.mail.lists@gmail.com) Received: from mail-ea0-x231.google.com (mail-ea0-x231.google.com [IPv6:2a00:1450:4013:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id CD574A61 for ; Fri, 31 May 2013 11:54:00 +0000 (UTC) Received: by mail-ea0-f177.google.com with SMTP id q14so1497480eaj.36 for ; Fri, 31 May 2013 04:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=x3hwzQtaXzFMpaUo4obyaVExgYbVdg5tAIUNsyPv0+A=; b=0O+Gfi6gs1aDJrZqLQN1Ro0oIeCb4zwd2+p0rqQ2RI58VpzM9NkyvTHlDupalKvRjs uxIqDtOFo980A2GGDdmdOiw9BuugFL2CgQShHZDW+cGGZUmUDki9U09Ltqhv+HbyIWeU VI36z0vIzJ6qi5jwVcgt3k+hRwESe6tjL3m2oUhHSkAhMVYFszKF1oO761sHaOT6rAZG 7zRqzUjaMhK1I28szgDfQNpy1H30yyFnM8FpEe1CWJRQJv6sXaFt3H4X8XoABPfv9Su0 JYqnV23PsZH0xm8MXYnwBwnbtsWcLx38WFjqK1Td2tOn9oTTgqXF/iaq4RZuUKvi6bZR Oeaw== X-Received: by 10.15.22.14 with SMTP id e14mr12965610eeu.124.1370001238908; Fri, 31 May 2013 04:53:58 -0700 (PDT) Received: from [127.0.0.1] ([87.213.55.5]) by mx.google.com with ESMTPSA id w43sm37101278eel.0.2013.05.31.04.53.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 04:53:57 -0700 (PDT) Message-ID: <51A88F42.5010503@gmail.com> Date: Fri, 31 May 2013 13:53:38 +0200 From: "bw.mail.lists" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: ruby 1.9 upgrade and puppet Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 11:54:01 -0000 Moving to ruby 1.9 by following the instructions in UPDATING breaks puppet. When updating with portmaster, at install time it says 'could not load facter; cannot install' and exits. I had to manually run 'gem install facter', then puppet installed. However, 'service puppetmaster status' was reporting puppet as not running even though it was, so I had to kill the running process before 'service puppetmaster start'. I assume this is related to $command_interpreter in the rc script being changed from ruby18 to ruby19? Although, /usr/local/bin/ruby and /usr/local/bin/ruby19 are identical, can't the script use plain ruby instead of ruby19? For poudriere, puppet failed, still facter: =================================================== ===> Installing for puppet-3.1.1_2 ===> Generating temporary packing list ===> Checking if sysutils/puppet already installed ===> Creating users and/or groups. Creating group `puppet' with gid `814'. Creating user `puppet' with uid `814'. ftools not found. Using FileUtils instead.. Could not load facter; cannot install *** [do-install] Error code 255 Stop in /usr/ports/sysutils/puppet. ===> Cleaning for puppet-3.1.1_2 build of /usr/ports/sysutils/puppet ended at Fri May 31 11:37:10 CEST 2013 Rebuilding everything with 'poudriere bulk -c' worked fine. I'm aware that rebuilding everything isn't needed, but it didn't take that long. But then, when upgrading with pkg, again I had to 'gem install facter' manually and kill the running script before puppet would restart.