Re: [Puppet Users] Puppet Windows Automation

2015-09-01 Thread Matthew Stone
do it do it do it do it! I put one together for windowsfeature and wanted to submit a PR, but I'm unseasoned at rspec and haven't been able to put together a solid block of tests. Any help or resources in that department is more than appreciated. :) On Monday, August 31, 2015 at 7:15:32 PM UT

Re: [Puppet Users] Puppet Windows Automation

2015-08-31 Thread Matthew Stone
For instances like this, I've usually smashed everything into a one-liner using the powershell provider. So...something along the lines of: command => " \$thing = ; Write-Host \"Puppet ${thingamajig} is a $\thing\"" As can be seen above, it can start looking pretty ugly, especially if the comm