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

Ref #9055 - make packages depended on, a configurable parameter #56

Merged
merged 1 commit into from
Jan 26, 2015

Conversation

dustints
Copy link

No description provided.

package { $katello::package_names:
ensure => installed,

if $katello::packages == undef {
Copy link
Member

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,
}

@dustints
Copy link
Author

@ekohl addressed...just expose package_names as a parameter

@ekohl
Copy link
Member

ekohl commented Jan 21, 2015

👍 pending tests.

@dustints
Copy link
Author

@ehelms saw your comment in Katello/katello#4923.
is this ok to merge?

@ehelms
Copy link
Member

ehelms commented Jan 22, 2015

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.

@ehelms
Copy link
Member

ehelms commented Jan 24, 2015

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
Copy link
Member

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.

Copy link
Author

Choose a reason for hiding this comment

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

@ekohl addressed

Copy link
Member

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

Copy link
Author

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.

@ehelms
Copy link
Member

ehelms commented Jan 26, 2015

APT

@ekohl
Copy link
Member

ekohl commented Jan 26, 2015

👍

dustints pushed a commit that referenced this pull request Jan 26, 2015
Ref #9055 - make packages depended on, a configurable parameter
@dustints dustints merged commit e77f429 into theforeman:master Jan 26, 2015
@dustints dustints deleted the packages_option branch January 26, 2015 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants