mkrakowitzer/puppet-deploy — pull request #1 by actionjack (2013-10-10 15:23:15+00:00)
Title: Fixed  not qualified and no path was specified exceptions.

Current version of puppet 2.7 and up throw Wrapped exception errors for test and rm because they are given absolute paths e.g.:

Error: Validation of Exec[cleanup_atlassian-jira-6.1.tar.gz] failed: 'rm -f /var/tmp/deploy/atlassian-jira-6.1.tar.gz' is not qualified and no path was specified. Please qualify the command or specify a path. at /vagrant/modules/deploy/manifests/file.pp:154
Wrapped exception:
'rm -f /var/tmp/deploy/atlassian-jira-6.1.tar.gz' is not qualified and no path was specified. Please qualify the command or specify a path.

Error: Parameter unless failed on Exec[download_atlassian-jira-6.1.tar.gz]: 'test -d /opt/jira/atlassian-jira-6.1-standalone' is not qualified and no path was specified. Please qualify the command or specify a path. at /vagrant/modules/deploy/manifests/file.pp:133
Wrapped exception:
'test -d /opt/jira/atlassian-jira-6.1-standalone' is not qualified and no path was specified. Please qualify the command or specify a path.