Stop Service, Replace files, then start service again
In my infrastructure we make use SoftEther as a vpn client. I need to upgrade all the clients. Unfortunately after very extensive checking even going through the source I found out SoftEther has no silent installer. However, after taking a snapshot of the hard drive and registry I've gone through every change the installer makes well upgrading. I basically just need to stop the softether service on windows, replace a bunch of exe's then restart the service. I wrote a powershell script that does just this and have tested it as being very reliable at upgrading the client. Now, I'm trying to figure out how to write a module that would maintain softether on all of our windows desktops. I could probably just use the powershell module to execute my script but that isn't very 'puppet' and I'd probably have to manually transfer all the files? Is there a better way of doing this? or can I access a modules files from the puppet masters IP? I'm pretty familiar with puppets dsl at this point but I'm also still fairly new.