Mayank <mail2may...@gmail.com> writes:
> On Sun, Apr 18, 2010 at 1:47 PM, Mayank <mail2may...@gmail.com> wrote:
>> On Sun, Apr 18, 2010 at 8:45 AM, Nigel Kersten <nig...@google.com> wrote:

[...]

> Found an error:
>
> Following is my puppet recipe:

[...]

> During first run of puppet thru rc.local I got following error in 
> /var/log/messages
>
> Apr 18 04:11:55 ip-10-250-107-162 puppetd[1812]: 
> (//hadooprole/hadoopbase/Package
> [ruby-devel]/ensure) change from absent to latest failed: Could not update: 
> Execution of
> '/usr/bin/yum -d 0 -e 0 -y install ruby-devel' returned 1: Error: Missing 
> Dependency:
> ruby-libs = 1.8.6.110-2.fc8 is needed by package ruby-devel#012 at 
> /etc/puppet/manifests
> /classes/hadoopbase.pp:13
>
> However when I checked for ruby-libs package I found:

[... that rpm knows about it ...]

> Then I did re-run of puppet thru puppetd --test and it ran without fail and
> now I've this

[...]

> Any ideas as to why ruby-devel was not able to install properly during first
> run?

Nope.  I can tell you right now that it isn't a puppet problem, though.[1]

The problem is that puppet executed ...

    /usr/bin/yum -d 0 -e 0 -y install ruby-devel

... and yum returned an error, claiming that it couldn't find a dependency of
the package.

Fix your yum setup and puppet will start working.  (Maybe you need something
to run a 'yum update' or something like that?)

        Daniel

Footnotes: 
[1]  Technically, it may be puppet *related* problem, since the way puppet
     invokes the yum command, or the scheduling of it, may cause the failure
     by way of some side-effect.

-- 
✣ Daniel Pittman            ✉ dan...@rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to