Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Add module_check_cmd parameter to module classes #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gspk
Copy link

@gspk gspk commented Oct 27, 2015

I ran into issue #8 when installing Bundle::LWP, so went ahead and added a parameter for an alternate module check command in my fork.

@@ -51,8 +52,8 @@
}

$cpan_command_check = $ensure ? {
present => "perldoc -l ${name}",
absent => "perldoc -l ${name} || true",
present => "${module_check_cmd}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

puppet-lint complaining here, should be:

present => $module_check_cmd,

@alvagante
Copy link
Member

Nice addition, Travis complains about pupept-lint stuff, would you fix them?

@gspk
Copy link
Author

gspk commented Oct 28, 2015

Sure, I'll check that in and test this morning. Sorry, my puppet-lint config didn't catch that for some reason.

Greg

On Oct 28, 2015, at 10:17 AM, Alessandro Franceschi <[email protected]mailto:[email protected]> wrote:

Nice addition, Travis complains about pupept-lint stuff, would you fix them?


Reply to this email directly or view it on GitHubhttps://github.com//pull/22#issuecomment-151897703.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants