Issue #3295 has been updated by Markus Roberts. Status changed from Ready for Testing to Needs design decision
I'd like a design decision on this one; setting the working directory to, say, /usr/local/bin when a command is run from there seems like a strange thing to do. I'm leaving this pointing at James but if you'd rather punt to Luke or someone feel free. ---------------------------------------- Bug #3295: generate() does not set the current working directory intuitively http://projects.puppetlabs.com/issues/3295 Author: Paul Lathrop Status: Needs design decision Priority: Normal Assigned to: James Turnbull Category: functions Target version: Affected version: 0.25.4 Keywords: generate Branch: ticket/0.25.x/3295 While building a generate script which utilizes external resources, I've discovered that the working directory within the generate() script is set to /etc/puppet/rack (i.e. the working directory of Puppet itself) as opposed to the directory of the generate() script. While this may be "expected" behavior, it is non-intuitive, and I believe it should be fixed. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
