The errors are good at locating the source of your issues:
err: /Stage[main]/Ldapclient::Config/File[/etc/nslcd.conf]: Could not evaluate: 
Could not retrieve information from environment production source(s) 
puppet:///modules/ldapclient/files/RH6/ldapclient::config at 
/etc/puppetlabs/puppet/modules/ldapclient/manifests/config.pp:30 

Line 30 of your config.pp is where your problem lies (one of them anyway). It 
can't find the source file.

          file { '/etc/nslcd.conf': 
              mode => '444', 
              source => "${ldapclient::params::fileroot}/${name}", 
              owner  => $ldapclient::params::ldapclient_user, 
              require => Class['ldapclient::install'], 
              notify => Class['ldapclient::service'],
          } 

So it is interpreting this:
"${ldapclient::params::fileroot}/${name}", 

As:
puppet:///modules/ldapclient/files/RH6/ldapclient::config 

The following will give detail about fileserving, but $name is probably not 
resolving to what you think it should:
http://docs.puppetlabs.com/guides/file_serving.html

How are you declaring this in your manliest.  What do you think $name should 
be? Try putting in the source path without the variable substitution.

Den


On 28/01/2012, at 10:17, jblaine <cjbla...@gmail.com> wrote:

> puppet:///modules/ldapclient/files/RH6/ldapclient::config at 
> /etc/puppetlabs/puppet/modules/ldapclient/manifests/config.pp:30

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

Reply via email to