On Fri, Apr 01, 2011 at 02:15:41AM -0700, JohnW wrote:
> Hello
>
> I have been using puppet for a while now, more or less successfully on
> SLES 11 and CentOS 5.5
> currently I am using puppet 2.6.6
>
> I now am trying it out on redhat 6, and now i run into an problem with
> even the simplest of modules/classes
>
> The error I get is :
>
> debug: /Stage[main]/Motd/File[/etc/motd]/content: Executing 'diff -u /
> etc/motd /tmp/puppet-file20110401-3455-malx7x-0'
> /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:341: [BUG] Segmentation
> fault
> ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]
>
> my motd module is like this:
>
> class motd {
>
> $ascii = generate('/bin/sh', '-c', "/bin/echo OS:
> $operatingsystem )
>
Not an answer to your problem, but isnt this the same as
$ascii = "OS: ${operatingsystem}"
-Stefan
pgpm9nrsMhqoG.pgp
Description: PGP signature
