[PUP-9194] REGRESSION exec cwd is not respected for unless or onlyif commands in 6.0.1 Created: 2018/10/03 Updated: 2019/02/22 Resolved: 2018/10/09
|Component/s:||Types and Providers|
|Affects Version/s:||PUP 6.0.1|
|Fix Version/s:||PUP 6.0.2|
|Reporter:||Peter Meier||Assignee:||Enis Inan|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Template:||PUP Bug Template customfield_10700 278608|
|Sprint:||Platform OS Kanban|
|Method Found:||Needs Assessment|
|Release Notes:||Bug Fix|
|Release Notes Summary:||The unless or onlyif commands now respect the cwd parameter in the Exec resource.|
|QA Risk Assessment:||Needs Assessment|
Since 6.0.1 there is a pretty severe regression which makes unless & onlyif of the exec resource not respecting the specified cwd.
Here is the (shortened output of a run in 6.0.0:
While this is the output from a 6.0.1 run:
This is a pretty severe Regression as it breaks tons of existing execs, which might even trigger unwanted commands, as the safeguards are not working anymore.
|Comment by Geoff Nichols [ 2018/10/03 ]|
PR#7138 merged to puppet#5.5.x at https://github.com/puppetlabs/puppet/commit/2bd6f42fef3d7b99e6c90fc4ff6469ade946470e
|Comment by Michelle Fredette [ 2018/10/03 ]|
release note added.
|Comment by Kenn Hussey [ 2018/10/04 ]|
Enis Inan please close this issue once the changes have been merged up to master and passed CI.
|Comment by Jarret Lavallee [ 2019/02/22 ]|
It looks like this change also made it into 5.5.7. Can we add that to the fix version?