Thanks for reporting this duritong - I wanted to follow up to say that this was fixed in 6.0.2 (indeed this was the reason we shipped 6.0.2 after 1 day:) )
On Wednesday, October 3, 2018 at 1:30:22 AM UTC-7, Peter Meier wrote: > > Hi All, > > > We're happy to announce the release of Puppet Platform 6.0.1. This is > > primarily a bug release, with some improvements to Puppet, some new > > features in Puppet Server, and some new component versions in Puppet > > Agent. > > Just a heads up to everybody: There is a pretty severe regression in the > exec provider together with cwd, as the behavior of the type/provider > changed from 6.0.0 to 6.0.1: > > https://tickets.puppetlabs.com/browse/PUP-9194 > > tldr; The cwd param is not respected in 6.0.1 for the commands specified > in unless or onlyif. This might trigger an unwanted execution of the > command, as the safe-guards in unless/onlyif might fail as they are not > anymore executed in the cwd. > > best > > ~pete > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/7f2df5c4-d5b7-4931-8899-68c0ca8b3dcd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
