example42 / puppet-perl

Puppet module to manage Perl and CPAN modules
Other
4 stars 26 forks source link

Doc fix + lowercase pkg name on Debian #18

Closed sbakker closed 9 years ago

sbakker commented 9 years ago

Fix the documentation of perl::module to state that use_package is false by default.

On Debian based systems, the $pkg_name is not correctly determined by perl::module. If a manifest defines a perl::module for Net::DNS, and $use_package is true, then it defines a package resource for libNet-DNS-perl. The underlying APT system is smart enough to recognise this, but Puppet is not clever enough to see that libnet-dns-perl and libNet-DNS-perl are basically identical. As a result, every Puppet agent run will result in a notice for Package[libNet-DNS-perl] stating "ensure changed 'purged' to 'present'".

sbakker commented 9 years ago

Huh. Build failed. The diagnostics are not particularly clear in why it failed, though. Any hints?

alvagante commented 9 years ago

Tests fail for other reasons. thx