- From: Adam Jacob <
>
- To: "
" <
>
- Subject: [chef] Re: Re: Re: yum_package resource problem
- Date: Fri, 30 Nov 2012 19:01:15 +0000
- Accept-language: en-US
No, there is no part of yum_package that works in the background. The race
is in the package or the service itself. Dig in to the packaging.
Adam
On 11/29/12 11:29 PM, "jfotop"
<
>
wrote:
>
>
Adam, thanks for your answer.
>
First of all, I know that the "not_if" isn't necessary, but as I have
>
noticed,
>
providing that not_if in all my yum_package resources makes the run
>
complete
>
much faster than without it. When yum_package provider checks to see if
>
the
>
package is installed, it might take up to 10 sec to complete, whereas
>
"not_if
>
rpm -qa" needs much less. So, that's the only reason I use it.
>
Now, as for the "/etc/munin" directory.. I have tried installing the
>
package
>
from the command line and the directory is created with the "yum install
>
munin-package" command. But as I mentioned earlier, when setting a retry
>
on the
>
yum_package resource and a delay everything worked as expected. The
>
directory
>
was created by the time the next resource (template file) was executed.
>
So, is there,maybe some part of yum_package running at the background
>
maybe?
>
>
Thanks again!
>
Archive powered by MHonArc 2.6.16.