justicel/puppet-wkhtmltox — pull request #2 by Jack12816 (2014-12-08 15:11:27+00:00)
Title: Added missing $filename reference if $wkhtml_filename is given.

See #1. This PR fixes:

```bash
==> default: Error: Execution of '/usr/bin/dpkg --force-confold -i /tmp/' returned 1: dpkg-split: error: error reading /tmp/: Is a directory
==> default: dpkg: error processing archive /tmp/ (--install):
==> default: subprocess dpkg-split returned error exit status 2
==> default: Errors were encountered while processing:
==> default: /tmp/
==> default:
==> default: Error: /Stage[main]/Wkhtmltox/Package[wkhtmltox]/ensure: change from purged to present failed: Execution of '/usr/bin/dpkg --force-confold -i /tmp/' returned 1: dpkg-split: error: error reading /tmp/: Is a directory
==> default: dpkg: error processing archive /tmp/ (--install):
==> default: subprocess dpkg-split returned error exit status 2
==> default: Errors were encountered while processing:
==> default: /tmp/
==> default:
```

on:

```puppet
class {'::wkhtmltox':
ensure => present,
use_downloader => true,
download_url => 'http://0.0.0.0:8080/packages/wkhtmltopdf',
wkhtml_filename => 'wkhtmltox-0.12.1_linux-trusty-amd64.deb'
}
```