ruby 1.9 upgrade and puppet
Bryan Drewery
bdrewery at FreeBSD.org
Fri May 31 21:24:59 UTC 2013
Delete the built ruby-1.8 and ruby-1.9 packages from your package
repository. The bulk build your set again. This will fix all ports
depending on ruby to rebuild with the new default.
Poudriere is supposed to catch this case by default in 3.0.x, but
somehow missed it. Historically this was needed for default version
changes, such as PERL, RUBY.
Looking into why this case did not work still.
On 5/31/2013 6:53 AM, bw.mail.lists wrote:
> 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:
>
> =======================<phase: install >============================
> ===> 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.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130531/79055d09/attachment.sig>
More information about the freebsd-ports
mailing list