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

Fixes #4650 - consumer cert alias for katello #19

Merged
merged 1 commit into from
Jun 26, 2014

Conversation

dustints
Copy link

Consumer cert alias stored as a variable so that puppet_katello can use
the set the cert name in the katello.yml template.

@@ -5,6 +5,7 @@
$candlepin_consumer_name = "${$certs::default_ca_name}-consumer-${::fqdn}"
$candlepin_consumer_summary = "Subscription-manager consumer certificate for Katello instance ${::fqdn}"
$candlepin_consumer_description = 'Consumer certificate and post installation script that configures rhsm.'
$candlepin_cert_rpm_alias = "${$certs::default_ca_name}-consumer-latest.noarch.rpm"
Copy link
Member

Choose a reason for hiding this comment

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

What about making this a parameter in this class while we are at it, just so it's overridable if we want to set it ourselves?

Copy link
Author

Choose a reason for hiding this comment

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

@ehelms updated, made the cert alias a parameter for the class.

@ehelms
Copy link
Member

ehelms commented Jun 24, 2014

ACK pending Travis

@dustints
Copy link
Author

@ehelms
travis is complaining about:

manifests/katello.pp:5:WARNING: parameterised class parameter without a default value

could this be an issue with puppet-lint?

@dustints
Copy link
Author

@ehelms nvm previous comment, found this http://puppet-lint.com/checks/class_parameter_defaults/

Consumer cert alias stored as a variable so that puppet_katello can use
the cert name in the katello.yml template.
@dustints
Copy link
Author

@ehelms updated, because puppet-lint complaining about derived default values for class parameters.

@ehelms
Copy link
Member

ehelms commented Jun 26, 2014

ACK. @dustint-rh thanks! Merging.

ehelms added a commit that referenced this pull request Jun 26, 2014
Fixes #4650 - consumer cert alias for katello
@ehelms ehelms merged commit 0675231 into theforeman:master Jun 26, 2014
@dustints dustints deleted the katello_ca_cert_name branch June 26, 2014 14:53
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.

2 participants