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
::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 > > wrote: > > >

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

2013-07-21 Thread Alon Nisser
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": always_apt_update => true, } apt::builddep { ["python-imaging","pyt

[Puppet Users] Re: Puppetlabs Apt module: dependency cycle

2013-07-21 Thread Alon Nisser
Thanks for the detailed answer! I'll try that right away On Thursday, July 18, 2013 11:38:25 PM UTC+3, Alon Nisser wrote: > > Using ```puppetlabs/apt``` in a puppet provisioner for vagrant. the > module is installed in puppet/modules and I'm getting a strange Dependency &

[Puppet Users] Puppetlabs Apt module: dependency cycle

2013-07-18 Thread Alon Nisser
Using ```puppetlabs/apt``` in a puppet provisioner for vagrant. the module is installed in puppet/modules and I'm getting a strange Dependency cycle error. the code in the manifest file: # Run apt-get update when anything beneath /etc/apt/ changes #taken from https://blog.kumina.nl/20