Re: [Puppet Users] Re: puppet fails to install some packages but succeed if I do a manual apt-get update --fix-missing. using puppetlabs/apt module

2013-08-05 Thread Alon Nisser
I'm running puppet from vagrant, everything else runs as root so I guess this also runs as root (is there a way to specifiy to run as root in the puppet command?) On Monday, August 5, 2013 1:06:52 AM UTC+3, denmat wrote: Did you see this in the log?

Re: [Puppet Users] Re: puppet fails to install some packages but succeed if I do a manual apt-get update --fix-missing. using puppetlabs/apt module

2013-08-05 Thread jcbollinger
On Monday, August 5, 2013 3:04:08 AM UTC-5, Alon Nisser wrote: I'm running puppet from vagrant, everything else runs as root so I guess this also runs as root (is there a way to specifiy to run as root in the puppet command?) No. Mechanisms by which unprivileged processes can obtain

Re: [Puppet Users] Re: puppet fails to install some packages but succeed if I do a manual apt-get update --fix-missing. using puppetlabs/apt module

2013-08-04 Thread Denmat
Did you see this in the log? Stage[main]//Apt::Builddep[python-imaging]/Exec[apt-builddep-python-imaging]/returns: E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? [0m Who are you running it as? Den On 04/08/2013, at 21:31, Alon Nisser alonis...@gmail.com wrote:

[Puppet Users] Re: puppet fails to install some packages but succeed if I do a manual apt-get update --fix-missing. using puppetlabs/apt module

2013-07-29 Thread jcbollinger
On Sunday, July 21, 2013 6:56:12 PM UTC-5, Alon Nisser wrote: Running puppet from vagrant. this is my puppet code: package { [build-essential,apache2,git,python,python-dev,python-setuptools, python-pip]: ensure = present, require = Class[apt], } # include apt class {apt: