How do you get a manifest to stay with a PowerShell script until it is complete?
I have complex PowerShell scripts that I would like Puppet manifests to govern. I use a PowerShell plugin. I can have Puppet manifests transfer a PowerShell script and run it. The relevant messages of a Puppet Agent running and associated logs on the Puppet Agent server and Puppet master server can show a success well before the PowerShell script has finished. Is there a way or trick to getting a Puppet manifest to not show such quick "successes" and wait for the entire PowerShell script to finish? The solution may be more of a PowerShell fix than a Puppet fix.