2.7.3
The heck? ${path} is expanding to the shell environment PATH when I
reference it as a variable
in my file resource. Isn't this supposed to be the "namevar" for file
resources?
err: /Stage[main]/Ldapclient::Config/File[/etc/ldap.conf]: Could not
evaluate: Could not retrieve information from environment production
source(s) puppet:///modules/ldapclient/RedHat/usr/bin:/bin:/usr/sbin:/sbin
at /etc/puppet/modules/ldapclient/manifests/config.pp:9
class ldapclient::config {
case $operatingsystem {
/(RedHat|CentOS|Fedora)/: {
file { [ '/etc/openldap/ldap.conf', '/etc/ldap.conf' ]:
source => "${ldapclient::params::fileroot}${path}",
owner => "$ldapclient::params::ldapclient_user",
mode => 0444,
require => Class['ldapclient::install'],
}
}
}
}
--
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/-/gX1W7gJwYI8J.
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.