-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Katello 4.0 drops Pulp 2 in favor of Pulp 3 completely. If this plugin is used, then Pulpcore will be used and the user can decide if it should be deployed as a mirror configuration or not. This drops most of the parameters as they are not relevant with Pulp 3.
- Loading branch information
Showing
5 changed files
with
19 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,6 @@ | ||
# Default parameters for the Pulp smart proxy plugin | ||
# @api private | ||
class foreman_proxy::plugin::pulp::params { | ||
$enabled = true | ||
$listen_on = 'https' | ||
$version = undef | ||
$pulpnode_enabled = false | ||
$pulpcore_enabled = false | ||
$pulpcore_mirror = false | ||
$pulp_url = "https://${facts['networking']['fqdn']}/pulp" | ||
$pulpcore_api_url = "https://${facts['networking']['fqdn']}" | ||
$pulpcore_content_url = "${pulp_url}/content" | ||
$pulp_dir = '/var/lib/pulp' | ||
$pulp_content_dir = '/var/lib/pulp/content' | ||
$puppet_content_dir = undef | ||
$mongodb_dir = '/var/lib/mongodb' | ||
$pulpcore_content_url = "${pulpcore_api_url}/pulp/content" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
--- | ||
# Pulp integration | ||
:enabled: <%= @module_enabled %> | ||
:pulp_url: <%= scope.lookupvar("foreman_proxy::plugin::pulp::pulp_url") %> | ||
# Path to pulp, pulp content and mongodb directories | ||
:pulp_dir: <%= scope.lookupvar("foreman_proxy::plugin::pulp::pulp_dir") %> | ||
:pulp_content_dir: <%= scope.lookupvar("foreman_proxy::plugin::pulp::pulp_content_dir") %> | ||
:puppet_content_dir: <%= scope.lookupvar("foreman_proxy::plugin::pulp::real_puppet_content_dir") %> | ||
:mongodb_dir: <%= scope.lookupvar("foreman_proxy::plugin::pulp::mongodb_dir") %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
--- | ||
# Pulp integration | ||
:enabled: <%= @module_enabled %> | ||
:pulp_url: <%= scope.lookupvar("foreman_proxy::plugin::pulp::pulp_url") %> | ||
# Path to pulp, pulp content and mongodb directories | ||
:pulp_dir: <%= scope.lookupvar("foreman_proxy::plugin::pulp::pulp_dir") %> | ||
:pulp_content_dir: <%= scope.lookupvar("foreman_proxy::plugin::pulp::pulp_content_dir") %> | ||
:puppet_content_dir: <%= scope.lookupvar("foreman_proxy::plugin::pulp::real_puppet_content_dir") %> | ||
:mongodb_dir: <%= scope.lookupvar("foreman_proxy::plugin::pulp::mongodb_dir") %> |