Skip to content
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

modulesync 2.5.0 and drop Puppet4 support #156

Merged
merged 11 commits into from
Jan 13, 2019
Merged

modulesync 2.5.0 and drop Puppet4 support #156

merged 11 commits into from
Jan 13, 2019

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

metadata.json Show resolved Hide resolved
@ekohl
Copy link
Member

ekohl commented Jan 11, 2019

The class specs also need to be migrated

Copy link
Member

@dhollinger dhollinger left a comment

Choose a reason for hiding this comment

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

Looks to be a few things that need cleanup. Will add more as I dig deeper

Gemfile Outdated Show resolved Hide resolved
spec/defines/letsencrypt_certonly_spec.rb Outdated Show resolved Hide resolved
spec/defines/letsencrypt_certonly_spec.rb Outdated Show resolved Hide resolved
let :facts do
facts
end
let(:params) { default_params.merge(additional_params) }
Copy link
Member

Choose a reason for hiding this comment

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

A pattern I've started to use instead is:

let(:params) do
  {
    # ...
  }
end

Then when you need to override it below:

let(:params) { super().merge(install_method: 'package') }

spec/classes/letsencrypt_install_spec.rb Outdated Show resolved Hide resolved
spec/classes/letsencrypt_spec.rb Outdated Show resolved Hide resolved
spec/classes/letsencrypt_spec.rb Outdated Show resolved Hide resolved
spec/classes/letsencrypt_spec.rb Outdated Show resolved Hide resolved
@bastelfreak bastelfreak merged commit d03aeb5 into master Jan 13, 2019
@bastelfreak bastelfreak deleted the modulesync branch January 13, 2019 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants