On Sep 27, 2011, at 7:35 PM, Rafael Chacon wrote:
> So, in theory there are no dependencies between both module, but what
> would happen if both modules begin to use apt-get at the same time,
> one of them it's going to have an error like:
> 
> E: Could not get lock /var/lib/dpkg/lock - open (11: Resource
> temporarily unavailable)
> E: Unable to lock the administration directory (/var/lib/dpkg/), is
> another process using it?
> 
> Or is puppet going to check that some one is already using apt-get and
> wait for it??

Puppet client is single-threaded, that won't be a problem.

> I'm asking this because I have a big configuration and when I run it
> from scratch I get some 255 errors when installing some packages. Then
> I re-run the agent and it installs everything.

It's not that problem.  Run it with "--debug" and you'll learn why they are 
failing.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source and other 
randomness

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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