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":
> always_apt_update => true,
> }
> apt::builddep { ["python-imaging","python-lxml"]:
>
>  }
> include nodejs
> package {"less":
> ensure => present,
> provider => 'npm',
> require => Package['npm'],
> }
> package {"python-virtualenv":
> ensure => present,
> require => Package["python-pip", "python-setuptools"]
> }
> package {"sphinx":
> ensure => present,
> require => Package["python-pip"],
> provider => pip
> }
> service {'apache2':
> ensure => running,
> enable => true,
> #subscribe => File["/etc/apache2/apache2.conf"]
> }
> #include postgresql
> class { 'postgresql':
>   charset => 'UTF8',
>   require => Class['apt'],
> }-> class { 'postgresql::server':
> config_hash => {
>     'ip_mask_deny_postgres_user' => '0.0.0.0/32',
>     'ip_mask_allow_all_users'    => '0.0.0.0/0',
>     'listen_addresses'           => '*',
>   },
> }
> class {'postgresql::client':
> package_ensure => present,
> require => Class['postgresql'],
> }
> class {'postgresql::python':
> package_ensure => present,
> require => Class['postgresql'],
> }
>
>
> The error: would be glad with any help with this 
>
>  
>
> ←[0;36mnotice: /Stage[main]//Package[sphinx]: Dependency 
> Exec[apt-builddep-pytho
> n-imaging] has failures: true←[0m
> ←[0;36mnotice: /Stage[main]//Package[sphinx]: Dependency 
> Exec[apt-builddep-pytho
> n-lxml] has failures: true←[0m
> ←[0;33mwarning: /Stage[main]//Package[sphinx]: Skipping because of failed 
> depend
> encies←[0m
> ←[0;36mnotice: /Stage[main]//Package[python]: Dependency 
> Exec[apt-builddep-pytho
> n-imaging] has failures: true←[0m
> ←[0;36mnotice: /Stage[main]//Package[python]: Dependency 
> Exec[apt-builddep-pytho
> n-lxml] has failures: true←[0m
> ←[0;33mwarning: /Stage[main]//Package[python]: Skipping because of failed 
> depend
> encies←[0m
>
> [...]

If you run the agent with the --debug flag enabled then Puppet should log 
the exact commands it attempts to execute.  That may provide a clue as to 
why the Apt::Builddep resources are failing.  From what I can see, those 
failures are the root cause of your problem.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to