Hi
I am using thias-puppet to manage puppet agent configuration. And it is
being done in the following order:
class baseclass {
class puppet::agent {
....variables...
}
}
node ''hostname1'' {
include baseclass
}
This all above works well.
But now I wish to include $certname which would be used by the
template(puppetagent.erb) to generate puppet.conf which will now include
*certname
= nodename*. So what would be the changes required or how can value be
passed so that $certname is taken from the nodename itself automatically.
node ''hostname1'' {
$certname = ''hostname1''
include baseclass
}
Thanks,
N.
--
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/-/HpVAbCuLWzAJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.