Indeed.
Trashing the entire defined resource idea 30 mins ago, and
simply trying:
class ldapclient::config {
case $sys_sshortai {
'RH6': {
file { '/etc/openldap/ldap.conf':
mode => '444',
source => "${ldapclient::params::fileroot}/${name}",
owner => $ldapclient::params::ldapclient_user,
require => Class['ldapclient::install'],
}
file { '/etc/nslcd.conf':
mode => '444',
source => "${ldapclient::params::fileroot}/${name}",
owner => $ldapclient::params::ldapclient_user,
require => Class['ldapclient::install'],
notify => Class['ldapclient::service'],
}
}
}
}
is giving me:
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
err: /Stage[main]/Ldapclient::Config/File[/etc/openldap/ldap.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:23
This is maddening. What do those errors even mean? So vague :(
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/ZwWSDMnrqesJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.