-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Add support for CentOS 8, Debian 10 #115
Conversation
The acceptance tests need to be refactored, because they are written for Vagrant. |
You can also ensure the user before hand: puppet-wget/spec/acceptance/wget_system_spec.rb Lines 31 to 33 in f286e42
That part runs as root and can create the user if needed. Should be the easiest fix. |
This module is broken in so many ways and I do not know, why it has not been archived in favour of Even if I remove the |
package { 'wget': ensure => $version } | ||
} | ||
elsif $::kernel == 'FreeBSD' { | ||
elsif $facts['kernel'] == 'FreeBSD' { | ||
if versioncmp($facts['os']['release']['major'], '10') >= 0 { |
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.
This is the only supported version, so you can simplify this whole block.
@@ -1,7 +1,7 @@ | |||
require 'spec_helper_acceptance' | |||
|
|||
describe 'wget' do | |||
let(:wget_manifest) { "class { 'wget': }" } | |||
let(:wget_manifest) { "user { 'vagrant': ensure => present, managehome => true } -> class { 'wget': }" } |
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.
I'd keep this local to the user test since it's not needed as part of the other tests.
why we consume energy to maintain a deprecated module ? |
IMO we should set this module in archive mode. |
It's a dependency of some of our other modules though??? Fix up those first? |
Maybe not ours... I have |
Going to close this since it's deprecated. See #119. |
No description provided.