Thanks John! Is $hostname a puppet built-in variable like
$operatingsystem, $fqdn etc?

-San

On Aug 16, 3:38 pm, jcbollinger <[email protected]> wrote:
>
> You can interpolate the 'hostname' fact into the name of the resouce,
> the name of the file on the file server, or both.  For example:
>
> file { "${hostname}-cert.pem":
>   ...
>   source => "puppet://puppet.internalnet/modules/certs/${hostname}-
> cert.pem"
>
> }
>
> John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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.

Reply via email to