Skip to content

Commit

Permalink
Fixes #14617 - communicate with candlepin over fqdn
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsherrill committed Apr 13, 2016
1 parent 60be220 commit 54d1473
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 54d1473

Please # to comment.