On 11/28/2012 05:22 AM, 夏凯 wrote: > 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
You need to move /etc/puppet/modules/sudo/sudoers to /etc/puppet/modules/sudo/files/sudoers Hope that helps. -- 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.