Each of my EC2 instances run Puppet as `puppet agent ... --certname=$(cat /etc/puppet/certname)`, which works very well to get each instance to the correct node stanza in nodes.pp.
I would like to use this certname value in the default node stanza thus: node default { @@nagios_host { "$settings::certname": } } Unsurprisingly, $settings::certname is the master's certname. $certname is empty. Is there a way to access the agent's certname as a variable? Thanks, Richard -- 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.