Skip to content

Commit

Permalink
Merge pull request #87 from jlsherrill/12062
Browse files Browse the repository at this point in the history
Fixes #12062 - exposing pulp num_workers as parameter
  • Loading branch information
jlsherrill committed Oct 6, 2015
2 parents 8628be0 + 33f25b7 commit 5305014
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#
# $cdn_ssl_version:: SSL version used to communicate with the CDN. Optional. Use SSLv23 or TLSv1
#
# $num_pulp_workers:: Number of pulp workers to use
#
# $package_names:: Packages that this module ensures are present instead of the default
#
class katello (
Expand All @@ -45,7 +47,7 @@
$oauth_secret = $katello::params::oauth_secret,

$post_sync_token = $katello::params::post_sync_token,

$num_pulp_workers = $katello::params::num_pulp_workers,
$log_dir = $katello::params::log_dir,
$config_dir = $katello::params::config_dir,

Expand Down Expand Up @@ -106,6 +108,7 @@
enable_rpm => true,
enable_puppet => true,
enable_docker => true,
num_workers => $num_pulp_workers,
} ~>
class { '::qpid::client':
ssl => true,
Expand Down
2 changes: 2 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
$proxy_username = undef
$proxy_password = undef

$num_pulp_workers = min($::processorcount, 8)

# cdn ssl settings
$cdn_ssl_version = undef

Expand Down

0 comments on commit 5305014

Please # to comment.