Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixes #14617 - communicate with candlepin over fqdn #121

Merged
merged 1 commit into from
Apr 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
$post_sync_token = cache_data('foreman_cache_data', 'post_sync_token', random_password(32))

# Subsystems settings
$candlepin_url = 'https://localhost:8443/candlepin'
$candlepin_url = "https://${::fqdn}:8443/candlepin"
$pulp_url = "https://${::fqdn}/pulp/api/v2/"
$mongodb_path = '/var/lib/mongodb'

Expand Down
4 changes: 2 additions & 2 deletions spec/classes/katello_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
' :rest_client_timeout: 120',
' :post_sync_url: https://host.example.org/katello/api/v2/repositories/sync_complete?token=test_token',
' :candlepin:',
' :url: https://localhost:8443/candlepin',
' :url: https://host.example.org:8443/candlepin',
' :oauth_key: katello',
' :oauth_secret: secret',
' :pulp:',
Expand Down Expand Up @@ -75,7 +75,7 @@
' :rest_client_timeout: 120',
' :post_sync_url: https://host.example.org/katello/api/v2/repositories/sync_complete?token=test_token',
' :candlepin:',
' :url: https://localhost:8443/candlepin',
' :url: https://host.example.org:8443/candlepin',
' :oauth_key: katello',
' :oauth_secret: secret',
' :pulp:',
Expand Down