Skip to content

Commit

Permalink
provide no path for pulp3 api url
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsherrill committed Jan 2, 2020
1 parent 0713d15 commit a1cfb84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifests/plugin/pulp/params.pp
Expand Up @@ -11,7 +11,7 @@
$pulp3_enabled = false
$pulp3_mirror = false
$pulp_url = "https://${::fqdn}/pulp"
$pulp3_api_url = "${pulp_url}/api"
$pulp3_api_url = "https://${::fqdn}"
$pulp3_content_url = "${pulp_url}/content"
$pulp_dir = '/var/lib/pulp'
$pulp_content_dir = '/var/lib/pulp/content'
Expand Down
6 changes: 3 additions & 3 deletions spec/classes/foreman_proxy__plugin__pulp_spec.rb
Expand Up @@ -54,7 +54,7 @@
verify_exact_contents(catalogue, "#{etc_dir}/foreman-proxy/settings.d/pulp3.yml", [
'---',
':enabled: false',
":pulp_url: https://#{facts[:fqdn]}/pulp/api",
":pulp_url: https://#{facts[:fqdn]}",
":content_app_url: https://#{facts[:fqdn]}/pulp/content",
':mirror: false'
])
Expand All @@ -68,7 +68,7 @@
pulpnode_enabled: true,
pulp3_enabled: true,
pulp3_mirror: true,
pulp3_api_url: 'https://pulp3.example.com/pulp/api',
pulp3_api_url: 'https://pulp3.example.com',
pulp3_content_url: 'https://pulp3.example.com/pulp/content',
pulp_url: 'https://pulp.example.com',
pulp_dir: '/tmp/pulp',
Expand Down Expand Up @@ -123,7 +123,7 @@
verify_exact_contents(catalogue, "#{etc_dir}/foreman-proxy/settings.d/pulp3.yml", [
'---',
':enabled: https',
':pulp_url: https://pulp3.example.com/pulp/api',
':pulp_url: https://pulp3.example.com/',
":content_app_url: https://pulp3.example.com/pulp/content",
':mirror: true'
])
Expand Down

0 comments on commit a1cfb84

Please sign in to comment.