On Monday, January 30, 2012 4:41:40 AM UTC-5, Felix.Frank wrote:
>
> On 01/28/2012 12:17 AM, jblaine wrote:
> > Trashing the entire defined resource idea 30 mins ago, and
> > simply trying:
>
> But why?
>
Felix, thanks for the reply.
I was just trying stuff out while waiting to see what fleshed out here in
the group.
> > class ldapclient::config {
> > case $sys_sshortai {
> > 'RH6': {
> > file { '/etc/openldap/ldap.conf':
> > mode => '444',
> > source => "${ldapclient::params::fileroot}/${name}",
>
> You're back to square one. $name is nothing sensible in this context.
> It's the name of the class this appears inside of - 'ldapclient::config'.
>
So there's nothing I can refer to inside a basic file resource declaration
which refers to the file resource "title". That's what I wanted to know
(assuming I understand everyone correctly).
>
--
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/-/agJ8hb6e5-oJ.
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.