--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAPnT6nN51aUYOSBTYzD6M-X9768pG2WwE6vXzQnJGNNATR7cgw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
Join us at PuppetConf 2014, September 23-24 in San Francisco - http://bit.ly/pupconf14
Thanks Rob. I'm well aware of both resources you mentioned but neither have provided me with a valid solution to my problem.
The powershell provider works well if I place my code inline within the manifest.
However the script I'm working with had a lot of logic. I don't see it being very maintainable all mashed up together inline in my onlyif statement.
Even following the all suggestions from the article on exit codes I cannot clearly see why puppet doesn't get the correct exit code when called from within the ps1 file.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMJiBK5B9LeDSTLhMeqPEu8teswusDAQhr53_sAuMfitbR%3DcSw%40mail.gmail.com.
Thanks Rob. I'm well aware of both resources you mentioned but neither have provided me with a valid solution to my problem.
The powershell provider works well if I place my code inline within the manifest.
However the script I'm working with had a lot of logic. I don't see it being very maintainable all mashed up together inline in my onlyif statement.
Even following the all suggestions from the article on exit codes I cannot clearly see why puppet doesn't get the correct exit code when called from within the ps1 file.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAPnT6nOETQK9CXU6pLjG2juc5sZz%3DxRazJqeJpAxZC05YL1sxg%40mail.gmail.com.
Thanks Rob. I'm well aware of both resources you mentioned but neither have provided me with a valid solution to my problem.
The powershell provider works well if I place my code inline within the manifest.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAPnT6nOETQK9CXU6pLjG2juc5sZz%3DxRazJqeJpAxZC05YL1sxg%40mail.gmail.com.