Thanks John! Is $hostname a puppet built-in variable like $operatingsystem, $fqdn etc?
-San On Aug 16, 3:38 pm, jcbollinger <john.bollin...@stjude.org> 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 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.