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 )
file { "/etc/motd":
owner => "root",
group => "root",
mode => "664",
content => template("motd/motd.erb"),
}
}
I tried it with puppet 2.6.7, but got the same error.
I'm not sure whether this is a puppet or a ruby problem.
Can anyone point me in the direction of a solution?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.