I'm using puppet 3.0
i install puppet by these two command:

sudo rpm -i http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-6.noarch.rpm
sudo yum install puppet-server

as http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-red-hat-enterprise-linux-and-derivatives and http://docs.puppetlabs.com/guides/installation.html#enterprise-linux-and-derivatives says.
i use these command to start puppetmaster:

sudo /etc/init.d/puppet start
sudo /etc/init.d/puppetmaster start

and these was no error message

then i put a site.pp(in attachment) under /etc/puppet/manifests.
when i use "sudo puppet apply --noop -v site.pp", i got the following error:

err: /Stage[main]//Node[default]/File[/sudoers]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/sudo/sudoers at /etc/puppet/manifests/site.pp:8

i have the FQDN resolv to myself:
grep `hostname` /etc/hosts
192.168.1.116   centos centos.test.com

i have myself certified:
sudo puppet ca list --all|grep `hostname`
+ centos.test.com (D4:A4:1F:7B:D5:FF:A0:20:13:7B:82:CF:8A:8A:0B:98)

puppet master --configprint certname
centos.test.com

i put the result of "sudo puppet apply --noop -dv site.pp" into puppet_debug.log under /etc/puppet/, and i package the whole /etc/puppet/ up in the attachment.
in case of the attachment didn't work, i put this file on my vps too:

http://106.187.50.36/puppet.tgz

now i don't know what to do since i can't find anything helpful in the debug log. any help will be appreciated.

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Attachment: puppet.tgz
Description: application/compressed-tar

Reply via email to