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

Allowing the package_source to be an Httpurl #582

Merged
merged 1 commit into from
Mar 3, 2018

Conversation

MAXxATTAXx
Copy link

Allow httpurl arguments for the pacakge reosurce.

In previous releases this value was not checked and when used with providers like chocolatey, it can support httpurl. The module should not restrict this parameter type so heavily.

@rodolfosalgado
Copy link

This is awesome, I had to do the same thing for me...

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Makes sense to me. Could you add a simple test for this so we don't accidentally break this in the future?

@MAXxATTAXx
Copy link
Author

Not sure where that test shuld go. puppet_agent_install_spec.rb?

@ekohl
Copy link
Member

ekohl commented Mar 2, 2018

Since that doesn't actually check the parameter type I think it needs to go in spec/classes/puppet_init_spec.rb

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

It looks correct. Going to let the tests complete before I merge it (or anyone else does).

@ekohl ekohl merged commit 96a5141 into theforeman:master Mar 3, 2018
@ekohl
Copy link
Member

ekohl commented Mar 3, 2018

Thanks!

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