-
Notifications
You must be signed in to change notification settings - Fork 46
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
Ref #9055 - make packages depended on, a configurable parameter #56
Conversation
package { $katello::package_names: | ||
ensure => installed, | ||
|
||
if $katello::packages == undef { |
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.
You can also solve this using pick:
$packages = pick($katello::packages, $katello::package_names)
package { $packages:
ensure => installed,
}
0b443ad
to
cd14ceb
Compare
@ekohl addressed...just expose package_names as a parameter |
👍 pending tests. |
@ehelms saw your comment in Katello/katello#4923. |
I want to say yes, but I have been intentionally testing the entire stack and process to ensure that all proposed changes solve the problem. |
ACK |
@@ -54,6 +56,8 @@ | |||
$proxy_username = $katello::params::proxy_username, | |||
$proxy_password = $katello::params::proxy_password, | |||
$cdn_ssl_version = $katello::params::cdn_ssl_version, | |||
|
|||
$package_names = $katello::params::package_names |
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.
Nitpick: I tend to prefer trailing commas because they lead to smaller differs.
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.
@ekohl addressed
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.
@dustints you might have forgot to push your changes
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.
@ehelms darn! yah that was the case...ok pushed this time.
cd14ceb
to
4193c3c
Compare
APT |
👍 |
Ref #9055 - make packages depended on, a configurable parameter
No description provided.