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
←[0;36mnotice: /Stage[main]//Package[apache2]: Dependency 
Exec[apt-builddep-pyth
on-imaging] has failures: true←[0m
←[0;36mnotice: /Stage[main]//Package[apache2]: Dependency 
Exec[apt-builddep-pyth
on-lxml] has failures: true←[0m
←[0;33mwarning: /Stage[main]//Package[apache2]: Skipping because of failed 
depen
dencies←[0m
←[0;36mnotice: /Stage[main]/Postgresql::Client/Package[postgresql-client]: 
Depen
dency Exec[apt-builddep-python-imaging] has failures: true←[0m
←[0;36mnotice: /Stage[main]/Postgresql::Client/Package[postgresql-client]: 
Depen
dency Exec[apt-builddep-python-lxml] has failures: true←[0m
←[0;33mwarning: /Stage[main]/Postgresql::Client/Package[postgresql-client]: 
Skip
ping because of failed dependencies←[0m
←[0;36mnotice: /Stage[main]/Postgresql::Server/Package[postgresql-server]: 
Depen
dency Exec[apt-builddep-python-imaging] has failures: true←[0m
←[0;36mnotice: /Stage[main]/Postgresql::Server/Package[postgresql-server]: 
Depen
dency Exec[apt-builddep-python-lxml] has failures: true←[0m
←[0;33mwarning: /Stage[main]/Postgresql::Server/Package[postgresql-server]: 
Skip
ping because of failed dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Exec[create_postgr
esql_conf_path]: Dependency Exec[apt-builddep-python-imaging] has failures: 
true
←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Exec[create_postgr
esql_conf_path]: Dependency Exec[apt-builddep-python-lxml] has failures: 
true←[0
m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Exec[create_postg
resql_conf_path]: Skipping because of failed dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/File_line[postgres
ql.conf#include]: Dependency Exec[apt-builddep-python-imaging] has 
failures: tru
e←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/File_line[postgres
ql.conf#include]: Dependency Exec[apt-builddep-python-lxml] has failures: 
true←[
0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/File_line[postgre
sql.conf#include]: Skipping because of failed dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/
_etc_postgresql_9.1_main_pg_hba.conf]: Dependency 
Exec[apt-builddep-python-imagi
ng] has failures: true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/
_etc_postgresql_9.1_main_pg_hba.conf]: Dependency 
Exec[apt-builddep-python-lxml]
 has failures: true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat
/_etc_postgresql_9.1_main_pg_hba.conf]: Skipping because of failed 
dependencies←
[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/
_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat]: Dependency 
Exec[apt-buil
ddep-python-imaging] has failures: true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/
_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat]: Dependency 
Exec[apt-buil
ddep-python-lxml] has failures: true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat
/_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat]: Skipping because 
of fai
led dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/
_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat.out]: Dependency 
Exec[apt-
builddep-python-imaging] has failures: true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/
_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat.out]: Dependency 
Exec[apt-
builddep-python-lxml] has failures: true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat
/_etc_postgresql_9.1_main_pg_hba.conf/fragments.concat.out]: Skipping 
because of
 failed dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/File_line[postgres
ql.conf#listen_addresses]: Dependency Exec[apt-builddep-python-imaging] has 
fail
ures: true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/File_line[postgres
ql.conf#listen_addresses]: Dependency Exec[apt-builddep-python-lxml] has 
failure
s: true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/File_line[postgre
sql.conf#listen_addresses]: Skipping because of failed dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/
_etc_postgresql_9.1_main_pg_hba.conf/fragments]: Dependency 
Exec[apt-builddep-py
thon-imaging] has failures: true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat/
_etc_postgresql_9.1_main_pg_hba.conf/fragments]: Dependency 
Exec[apt-builddep-py
thon-lxml] has failures: true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/var/lib/puppet/concat
/_etc_postgresql_9.1_main_pg_hba.conf/fragments]: Skipping because of 
failed dep
endencies←[0m
←[0;37mdebug: /Schedule[puppet]: Skipping device resources because running 
on a
host←[0m
←[0;37mdebug: Class[Concat::Setup]: The container Stage[main] will 
propagate my
refresh event←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
_rule[allow access to all users]/Concat::Fragment[pg_hba_rule_allow access 
to al
l 
users]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragme
nts/100_pg_hba_rule_allow access to all users]: Dependency 
Exec[apt-builddep-pyt
hon-imaging] has failures: true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
_rule[allow access to all users]/Concat::Fragment[pg_hba_rule_allow access 
to al
l 
users]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragme
nts/100_pg_hba_rule_allow access to all users]: Dependency 
Exec[apt-builddep-pyt
hon-lxml] has failures: true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a_rule[allow access to all users]/Concat::Fragment[pg_hba_rule_allow access 
to a
ll 
users]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.conf/fragm
ents/100_pg_hba_rule_allow access to all users]: Skipping because of failed 
depe
ndencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
_rule[local access as postgres user]/Concat::Fragment[pg_hba_rule_local 
access a
s postgres 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.con
f/fragments/001_pg_hba_rule_local access as postgres user]: Dependency 
Exec[apt-
builddep-python-imaging] has failures: true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
_rule[local access as postgres user]/Concat::Fragment[pg_hba_rule_local 
access a
s postgres 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.con
f/fragments/001_pg_hba_rule_local access as postgres user]: Dependency 
Exec[apt-
builddep-python-lxml] has failures: true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a_rule[local access as postgres user]/Concat::Fragment[pg_hba_rule_local 
access
as postgres 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.co
nf/fragments/001_pg_hba_rule_local access as postgres user]: Skipping 
because of
 failed dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
_rule[local access to database with same 
name]/Concat::Fragment[pg_hba_rule_loca
l access to database with same 
name]/File[/var/lib/puppet/concat/_etc_postgresql
_9.1_main_pg_hba.conf/fragments/002_pg_hba_rule_local access to database 
with sa
me name]: Dependency Exec[apt-builddep-python-imaging] has failures: 
true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
_rule[local access to database with same 
name]/Concat::Fragment[pg_hba_rule_loca
l access to database with same 
name]/File[/var/lib/puppet/concat/_etc_postgresql
_9.1_main_pg_hba.conf/fragments/002_pg_hba_rule_local access to database 
with sa
me name]: Dependency Exec[apt-builddep-python-lxml] has failures: true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a_rule[local access to database with same 
name]/Concat::Fragment[pg_hba_rule_loc
al access to database with same 
name]/File[/var/lib/puppet/concat/_etc_postgresq
l_9.1_main_pg_hba.conf/fragments/002_pg_hba_rule_local access to database 
with s
ame name]: Skipping because of failed dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
_rule[deny access to postgresql user]/Concat::Fragment[pg_hba_rule_deny 
access t
o postgresql 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.c
onf/fragments/003_pg_hba_rule_deny access to postgresql user]: Dependency 
Exec[a
pt-builddep-python-imaging] has failures: true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
_rule[deny access to postgresql user]/Concat::Fragment[pg_hba_rule_deny 
access t
o postgresql 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.c
onf/fragments/003_pg_hba_rule_deny access to postgresql user]: Dependency 
Exec[a
pt-builddep-python-lxml] has failures: true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a_rule[deny access to postgresql user]/Concat::Fragment[pg_hba_rule_deny 
access
to postgresql 
user]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.
conf/fragments/003_pg_hba_rule_deny access to postgresql user]: Skipping 
because
 of failed dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
_rule[allow access to ipv6 localhost]/Concat::Fragment[pg_hba_rule_allow 
access
to ipv6 
localhost]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.c
onf/fragments/101_pg_hba_rule_allow access to ipv6 localhost]: Dependency 
Exec[a
pt-builddep-python-imaging] has failures: true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
_rule[allow access to ipv6 localhost]/Concat::Fragment[pg_hba_rule_allow 
access
to ipv6 
localhost]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.c
onf/fragments/101_pg_hba_rule_allow access to ipv6 localhost]: Dependency 
Exec[a
pt-builddep-python-lxml] has failures: true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a_rule[allow access to ipv6 localhost]/Concat::Fragment[pg_hba_rule_allow 
access
 to ipv6 
localhost]/File[/var/lib/puppet/concat/_etc_postgresql_9.1_main_pg_hba.
conf/fragments/101_pg_hba_rule_allow access to ipv6 localhost]: Skipping 
because
 of failed dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/Exec[concat_/etc/postgresql/
9.1/main/pg_hba.conf]: Dependency Exec[apt-builddep-python-imaging] has 
failures
: true←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/Exec[concat_/etc/postgresql/
9.1/main/pg_hba.conf]: Dependency Exec[apt-builddep-python-lxml] has 
failures: t
rue←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/Exec[concat_/etc/postgresql
/9.1/main/pg_hba.conf]: Skipping because of failed dependencies←[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/etc/postgresql/9.1/mai
n/pg_hba.conf]: Dependency Exec[apt-builddep-python-imaging] has failures: 
true←
[0m
←[0;36mnotice: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hba
[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/etc/postgresql/9.1/mai
n/pg_hba.conf]: Dependency Exec[apt-builddep-python-lxml] has failures: 
true←[0m
←[0;33mwarning: 
/Stage[main]/Postgresql::Config::Beforeservice/Postgresql::Pg_hb
a[main]/Concat[/etc/postgresql/9.1/main/pg_hba.conf]/File[/etc/postgresql/9.1/ma
in/pg_hba.conf]: Skipping because of failed dependencies←[0m
←[0;36mnotice: /Stage[main]/Postgresql::Server/Exec[reload_postgresql]: 
Dependen
cy Exec[apt-builddep-python-imaging] has failures: true←[0m
←[0;36mnotice: /Stage[main]/Postgresql::Server/Exec[reload_postgresql]: 
Dependen
cy Exec[apt-builddep-python-lxml] has failures: true←[0m
←[0;33mwarning: /Stage[main]/Postgresql::Server/Exec[reload_postgresql]: 
Skippin
g because of failed dependencies←[0m
←[0;36mnotice: /Stage[main]/Postgresql::Server/Service[postgresqld]: 
Dependency
Exec[apt-builddep-python-imaging] has failures: true←[0m
←[0;36mnotice: /Stage[main]/Postgresql::Server/Service[postgresqld]: 
Dependency
Exec[apt-builddep-python-lxml] has failures: true←[0m
←[0;33mwarning: /Stage[main]/Postgresql::Server/Service[postgresqld]: 
Skipping b
ecause of failed dependencies←[0m
←[0;36mnotice: /Stage[main]/Postgresql::Python/Package[python-psycopg2]: 
Depende
ncy Exec[apt-builddep-python-imaging] has failures: true←[0m
←[0;36mnotice: /Stage[main]/Postgresql::Python/Package[python-psycopg2]: 
Depende
ncy Exec[apt-builddep-python-lxml] has failures: true←[0m
←[0;33mwarning: /Stage[main]/Postgresql::Python/Package[python-psycopg2]: 
Skippi
ng because of failed dependencies←[0m
←[0;37mdebug: Finishing transaction -615108958←[0m
←[0;37mdebug: Storing state←[0m
←[0;32minfo: Creating state file /var/lib/puppet/state/state.yaml←[0m
←[0;37mdebug: Stored state in 0.01 seconds←[0m
←[0;36mnotice: Finished catalog run in 108.10 seconds←[0m
←[0;37mdebug: /File[/var/lib/puppet/rrd]/ensure: created←[0m
←[0;37mdebug: Finishing transaction -616472668←[0m
←[0;37mdebug: Received report to process from precise32←[0m
←[0;37mdebug: Processing report from precise32 with processor 
Puppet::Reports::S
tore←[0m
The following SSH command responded with a non-zero exit status.

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