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

Update Candlepin configuration #9

Merged
merged 2 commits into from Jul 1, 2014
Merged

Update Candlepin configuration #9

merged 2 commits into from Jul 1, 2014

Conversation

awood
Copy link
Contributor

@awood awood commented Jun 26, 2014

Refs #6418

  • Configure Candlepin to connect to the Qpid instance.
  • Fix a bug in the Tomcat configuration that breaks Java 7.

@@ -16,6 +16,8 @@

# this comes from keystore
$db_password = cache_data('candlepin_db_password', random_password(32))
$amqp_keystore_password = $::certs::candlepin::keystore_password
$amqp_truststore_password = $::certs::candlepin::keystore_password
Copy link
Member

Choose a reason for hiding this comment

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

I would define these two in init.pp unless you plan to allow them to be set via parameters.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If I would like them to be settable via parameters, what changes would I need to make? I think it would be nice if people could configure the keystore/truststore passwords if they wished.

Copy link
Member

Choose a reason for hiding this comment

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

Look at https://github.com/Katello/puppet-candlepin/pull/9/files#diff-60ae41fd0a31977447947f59940ee9a4L53 those are all configurable parameters that have defaults set by the params.pp file. Also note documentation above for each parameter.

Copy link
Member

Choose a reason for hiding this comment

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

This also means you can break your reliance on the certs module here, and pass that information in when the Candlepin module is delcared if you want.

@ehelms
Copy link
Member

ehelms commented Jul 1, 2014

ACK. Thanks @awood

ehelms added a commit that referenced this pull request Jul 1, 2014
Update Candlepin configuration
@ehelms ehelms merged commit e940ba2 into theforeman:master Jul 1, 2014
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

2 participants