Revision 85bcb81d
Added by Justin Sherrill about 3 years ago
manifests/init.pp | ||
---|---|---|
#
|
||
# $qpid_router_ssl_protocols:: Protocols to support in dispatch router (e.g. TLSv1.2, etc)
|
||
#
|
||
# $pulpcore_allowed_content_checksums:: List of checksums to use for pulpcore content operations
|
||
#
|
||
# $pulpcore_manage_postgresql:: Manage the Pulpcore PostgreSQL database.
|
||
#
|
||
# $pulpcore_postgresql_host:: Host of the Pulpcore PostgreSQL database. Must be specified if external/unmanaged.
|
||
... | ... | |
Boolean $pulpcore_manage_postgresql = true,
|
||
Stdlib::Host $pulpcore_postgresql_host = 'localhost',
|
||
Stdlib::Port $pulpcore_postgresql_port = 5432,
|
||
Pulpcore::ChecksumTypes $pulpcore_allowed_content_checksums = ['sha1', 'sha224', 'sha256', 'sha384', 'sha512'],
|
||
String $pulpcore_postgresql_user = 'pulp',
|
||
String $pulpcore_postgresql_password = $foreman_proxy_content::params::pulpcore_postgresql_password,
|
||
String $pulpcore_postgresql_db_name = 'pulpcore',
|
||
... | ... | |
}
|
||
|
||
class { 'pulpcore':
|
||
allowed_content_checksums => $pulpcore_allowed_content_checksums,
|
||
allowed_import_path => $pulpcore_allowed_import_path,
|
||
allowed_export_path => $pulpcore_allowed_export_path,
|
||
apache_http_vhost => $apache_http_vhost,
|
metadata.json | ||
---|---|---|
},
|
||
{
|
||
"name": "theforeman/pulpcore",
|
||
"version_requirement": ">= 3.2.0 < 4.0.0"
|
||
"version_requirement": ">= 3.3.0 < 4.0.0"
|
||
}
|
||
],
|
||
"requirements": [
|
spec/classes/foreman_proxy_content_spec.rb | ||
---|---|---|
.with(apache_https_vhost: 'foreman-ssl')
|
||
.with(content_service_worker_timeout: 90)
|
||
.with(api_service_worker_timeout: 90)
|
||
.with(allowed_content_checksums: ['sha1', 'sha224', 'sha256', 'sha384', 'sha512'])
|
||
.that_comes_before('Class[foreman_proxy::plugin::pulp]')
|
||
end
|
||
|
Also available in: Unified diff
Fixes #32338 - expose pulpcore allowed_content_checksums