Re: [Puppet Users] Could not retrieve information from environment production source

2014-07-28 Thread jcbollinger
On Saturday, July 26, 2014 3:51:44 PM UTC-5, Shawn Miller wrote: Mine is that way- /etc/puppet/modules/sudo/files/sudoers # cat modules/sudo/manifests/init.pp class sudo { package { sudo: ensure = present, } if $operatingsystem == Ubuntu { package { sudo-ldap: ensure = present,

Re: [Puppet Users] Could not retrieve information from environment production source

2014-07-27 Thread Shawn Miller
Mine is that way- /etc/puppet/modules/sudo/files/sudoers # cat modules/sudo/manifests/init.pp class sudo { package { sudo: ensure = present, } if $operatingsystem == Ubuntu { package { sudo-ldap: ensure = present, require = Package[sudo], } } file { /etc/sudoers: owner = root, group = root, mode =

Re: [Puppet Users] Could not retrieve information from environment production source

2012-11-28 Thread 夏凯
On 2012年11月28日 16:50, 夏凯 wrote: On 2012年11月28日 15:43, Jakov Sosic wrote: You need to move /etc/puppet/modules/sudo/sudoers to /etc/puppet/modules/sudo/files/sudoers thanks, i'll try this later. that works, thanks again. -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Could not retrieve information from environment production source

2012-11-28 Thread 夏凯
On 2012年11月28日 15:43, Jakov Sosic wrote: You need to move /etc/puppet/modules/sudo/sudoers to /etc/puppet/modules/sudo/files/sudoers thanks, i'll try this later. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email

[Puppet Users] Could not retrieve information from environment production source

2012-11-27 Thread 夏凯
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

Re: [Puppet Users] Could not retrieve information from environment production source

2012-11-27 Thread Jakov Sosic
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