-
-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance distro support #342
Changes from 2 commits
dbb4eba
0a95f33
193da7e
b553b86
40f96bb
fdb655d
63c3d3c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
$repo_proxy_password = 'absent' | ||
$repo_proxy_username = 'absent' | ||
$repo_url_suffix = '0.10' | ||
$repo_release = $::lsbdistcodename | ||
$use_flags = ['npm', 'snapshot'] | ||
|
||
# The full path to cmd.exe is required on Windows. The system32 fact is only | ||
|
@@ -25,7 +26,7 @@ | |
if $::operatingsystemrelease =~ /^6\.(\d+)/ { | ||
fail("The ${module_name} module is not supported on Debian Squeeze.") | ||
} | ||
elsif $::operatingsystemrelease =~ /^[78]\.(\d+)/ { | ||
elsif $::operatingsystemrelease =~ /^[789]\.(\d+)/ { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wouldn't There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that would incorrectly catch the Ubuntu versions as well wouldn't it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will likely break for the next version of Debian (10) as it will start to conflict with Ubuntu 10.x, logic should be broken off separately for Debian and Ubuntu. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're right. Early morning code reviews aren't the best idea :P |
||
$legacy_debian_symlinks = false | ||
$manage_package_repo = true | ||
$nodejs_debug_package_name = 'nodejs-dbg' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add an entry to the README for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added README entry
40f96bb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a datatype for the new param?