e here:
>
> > content => template("samba/smb.erb", "samba/${hostname}.erb"),
>
> What is your intention with having multiple .erb files per hostname? That
> might help us figure if there a different solution is warranted.
>
> -Rilindo
>
> On Aug 7, 20
I would like to check for the existence of a template file and if that
template exists, use it otherwise move on. The file would obviously need to
exist on the Puppet server, not the client. Here is my code.
$filetest =
>> File.exists?("/etc/puppetlabs/puppet/modules/samba/templates/$hostname.e