There's an error in line 56 of manifests/init.pp where the work directory is detected and set, it reads:
$real_nexus_work_dirc = $nexus_work_dir
I think it should read:
$real_nexus_work_dir = $nexus_work_dir
When I pass in a work dir it leaves the value undef because it references $real_nexus_work_dir as a variable, looks like a typo with the ending 'c' to that variable setting. I have checked this locally and patched and it works...
More detail:
When specified like this:
class { 'nexus':
version => '2.10.0',
revision => '02',
nexus_user => 'nexus',
nexus_root => '/opt',
nexus_work_dir => '/var/lib/nexus/work'
}
It yields in puppet:
2014-10-28 12:09:16 +0000 Puppet (err): Parameter path failed on File[undef]: File paths must be fully qualified, not 'undef' at /etc/puppet/modules/nexus/manifests/package.pp:94
Wrapped exception:
File paths must be fully qualified, not 'undef'
There's an error in line 56 of manifests/init.pp where the work directory is detected and set, it reads: $real_nexus_work_dirc = $nexus_work_dir I think it should read: $real_nexus_work_dir = $nexus_work_dir
When I pass in a work dir it leaves the value undef because it references $real_nexus_work_dir as a variable, looks like a typo with the ending 'c' to that variable setting. I have checked this locally and patched and it works...
More detail: When specified like this: class { 'nexus': version => '2.10.0', revision => '02', nexus_user => 'nexus', nexus_root => '/opt', nexus_work_dir => '/var/lib/nexus/work' }
It yields in puppet: 2014-10-28 12:09:16 +0000 Puppet (err): Parameter path failed on File[undef]: File paths must be fully qualified, not 'undef' at /etc/puppet/modules/nexus/manifests/package.pp:94 Wrapped exception: File paths must be fully qualified, not 'undef'