Issue #9134 has been updated by James Turnbull. Category set to exec Status changed from Unreviewed to Closed
---------------------------------------- Bug #9134: Exec cwd does not work https://projects.puppetlabs.com/issues/9134 Author: James Martin Status: Closed Priority: Normal Assignee: Category: exec Target version: Affected Puppet version: 2.7.1 Keywords: Branch: When I have a cwd specified it is ignored: cpfusion-glassfish-setup: user => glassfish, cwd => "/opt/glassfish", command => "./lib/ant/bin/ant -f setup-cluster.xml ${setup_args}", creates => "/opt/glassfish/config/asenv.conf", require => [ File[cpfusion-cpxp-jar], Exec[cpfusion-glassfish-iptables] ]; I'm told that "./lib/ant/bin/ant" is not found. However if I set command => "/opt/glassfish/lib/ant/bin/ant -f setup-cluster.xml ${setup_args}", it works fine. -- 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.
