On 2013-05-07 11:04, Fco CM wrote:
Hi all,I think i'm forgetting something. If i do: "puppet apply manifiests/site.pp" it works perfectly, loading modules i have include in site.pp file. site.pp: cat manifiests/site.pp node default { include ntp, motd } But it does not work if i run puppet agent. puppet agent --test --server=debianita.user.arinso --environment production Info: Retrieving plugin Info: Caching catalog for debianita.user.arinso Info: Applying configuration version '1367916628' Notice: Finished catalog run in 0.02 seconds It is in the same host. pwd /etc/puppet/environment/production cat /etc/puppet/puppet.conf [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter templatedir=$confdir/templates server=Debianita.user.arinso modulepath = $confdir/environment/$environment/modules manifest = $confdir/environments/$environment/manifests/site.pp cat /etc/hosts xx.xx.xx.xx Debianita.user.arinso Debianita localhost
According to your configuration, the site.pp must be at "$confdir/environments/$environment/manifests/site.pp", which usually expands to "/etc/puppet/environments/production/manifests/site.pp", not "manifiests/site.pp".
Regards, David -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
