Puppet Copy msi, install and delete once


#1

hi all,

I have a question about Resource Type File, Exec and Package.

  1. I copy msi file from Ubuntu to Windows machine via File-RT (I dont have samba-share)
  2. I install the msi file via Package-RT
  3. I delete the msi file with Exec-RT

it works so far but my problem is when I call puppet agent --test on the client the msi file will be copied to Windows and after that will be removed.

So my question is: is there a way after copy, install and delete to ignore copy file again to the machines?

thanks in advance

Best Regards,
Neeloj