On Fri, 06 Aug 2010, Petr Salinger wrote: >>>> With my DSA hat on I have to say that I'm not entirely happy with what >>>> we have so far. >>>> >>>> The biggest pain for us currently is that puppet just does not work >>>> reliably on kfreebsd (both i386 and amd64). This may be a ruby bug, but >>>> it's still really, really annoying. >>> >>> Which version of ruby are you using? Is it >= 1.8.7.249-4 ? >> >> Whatever is in testing, so ruby1.8 is at 1.8.7.299-1. > > Would be possible to provide recipe to trigger it. I expect > that current puppet (2.6.0-2) and ruby1.8 (1.8.7.299-2) does not help. > > I already looked into ruby sources in the past, > 1st attempt would be to build ruby 1.8 without pthread support to see > whether it helps. > > Please could you provide steps for non-DD to reproduce this problem ?
I don't know if this alone is sufficient to reproduce the problem, but here goes: define set_alternatives($linkto) { exec { "/usr/sbin/update-alternatives --set $name $linkto": unless => "/bin/sh -c '! [ -e $linkto ] || ! [ -e /etc/alternatives/$name ] || ([ -L /etc/alternatives/$name ] && [ /etc/alternatives/$name -ef $linkto ])'" } } ... set_alternatives { "editor": linkto => "/usr/bin/vim.basic", } Cheers -- | .''`. ** Debian GNU/Linux ** Peter Palfrader | : :' : The universal http://www.palfrader.org/ | `. `' Operating System | `- http://www.debian.org/ -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100806103949.gy27...@anguilla.noreply.org