Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
- Puppet >= 7.0.0 < 9.0.0
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'theforeman-pulpcore', '11.0.0'
Learn more about managing modules with a PuppetfileDocumentation
puppet-pulpcore
Puppet module to set up Pulp 3. The primary goal of the maintainers is to set up Pulp 3 as part of Katello installation, but there's no reason it couldn't be used elsewhere.
The module assumes package repositories are present on the system. For convenience there is a pulpcore::repo
class which installs from yum.theforeman.org (built from pulpcore-packaging) but users can use other sources. Installation from pip is not supported.
Support policy
All supported versions are listed below. For every supported version, acceptance tests run in CI on every supported platform. The module provides no guarantee for multiple versions. Whenever a Pulpcore version is dropped, the module's major version is increased.
Supported operating systems are listed in metadata.json
but individual releases can divert from that. For example, if Pulpcore x.y drops EL7, it will still be listed in metadata.json until all versions supported by the module have dropped it. Similarly, if x.z adds support for EL9, it'll be listed in metadata.json
and all versions that don't support EL9 will have a note.
Pulpcore 3.49
Recommended version.
Pulpcore 3.39
Supported version.
Installation layout
Pulpcore doesn't mandate a specific layout so this module creates and manages this. There are some constraints, mostly due to SELinux support.
As part of the installation, it creates a user (default pulp
) and group (default pulp
). This user gets a home directory (default /var/lib/pulp
). There is also a config dir (default /etc/pulp
) under which a settings.py
file is created.
The media root (default /var/lib/pulp/media
) refers to the MEDIA_ROOT setting. In Pulp this should not be served by Apache. Instead of MEDIA_URL Pulp has a dedicated pulpcore-content
service which can also perform permission checks. Only the Pulp services need to read the files so directory permissions are set to 0750
. Note this default differs from Pulp's default. A subdirectory of the home directory allows a stricter lockdown and avoids any risk of uploading media files into the wrong directory.
There are also the STATIC_ROOT and STATIC_URL settings. These serve the static assets used by Pulp. This includes CSS and Javascript for the HTML pages. They're not needed for the application to function, but make browsing the API more convenient.
These is also the cache_dir
which is used to configure WORKING_DIRECTORY and FILE_UPLOAD_TEMP_DIR. This defaults to /var/lib/pulp/tmp
. It is strongly recommended that this is on the same filesystem as MEDIA_ROOT
.
Apache is configured to use an empty directory as docroot ($apache_docroot
, default /var/lib/pulp/pulpcore_static
). Doing so prevents Apache from bypassing the Pulp content app. When Apache is not managed, this directory is not managed.
While Pulp can create most of these directories at runtime, they're explicitly managed to set the correct permissions and, if pulpcore-selinux is installed, enforce the correct labels.
This results into the following structure, using tree -pug
:
/
├── [drwxr-xr-x root root ] etc
│ └── [drwxr-xr-x root pulp ] pulp ($config_dir)
│ └── [-rw-r----- root pulp ] settings.py
└── [drwxr-xr-x root root ] var
└── [drwxr-xr-x root root ] lib
└── [drwxrwxr-x pulp pulp ] pulp ($user_home)
├── [drwxr-xr-x pulp pulp ] assets ($static_root)
├── [drwxr-xr-x pulp pulp ] pulpcore_static ($apache_docroot)
├── [drwxr-x--- pulp pulp ] media ($media_root)
└── [drwxr-x--- pulp pulp ] tmp ($cache_dir)
Pulpcore settings
The application will load settings from Django's defaults, Pulpcore's defaults, plus any overrides defined in the settings file at ${config_dir}/settings.py
(default: /etc/pulp/settings.py
). The Django diffsettings
tool is useful to check settings which are different from Django's defaults (i.e. all of the Pulpcore defaults which are not present in Django, plus any overrides defined in the settings file):
PULP_SETTINGS=/etc/pulp/settings.py pulpcore-manager diffsettings
For example, to check the current value of a Pulpcore setting such as WORKER_TTL
:
PULP_SETTINGS=/etc/pulp/settings.py pulpcore-manager diffsettings | grep WORKER_TTL
This is useful for module parameter which configure Pulpcore settings but have an undef
default, such as $worker_ttl
. When the param value is undef
, the setting is omitted from settings.py
and therefore Pulpcore's default is used.
Service setup
The module deploys a few systemd services:
pulpcore-api.socket
- A unix socket that listens on$api_socket_path
(default:/run/pulpcore-api.sock
). It is owned by the Apache user.pulpcore-api.service
- The actual content service. It is using systemd socket activation.pulpcore-content.socket
- A unix socket that listens on$content_socket_path
(default:/run/pulpcore-content.sock
). It is owned by the Apache user.pulpcore-content.service
- The actual content service. It is using systemd socket activation.pulpcore-worker@.service
- A service template allowing multiple workers to be started. Actual workers will be namedpulpcore-worker@%i
where %i is a number starting at 1 and ending at$worker_count
.
The systemd socket activated services bind to a unix socket. They are always owned by the Apache user. To find this out this username, it always pulls in the apache module, even if the vhosts are unmanaged ($apache_http_vhost
and $apache_https_vhost
both set to false
).
Binding to a unix socket with minimal permissions is the most secure since only Apache can connect to Pulp's services. This forces the authentication to happen and prevents MITM attacks. Binding on TCP ports is not supported for this reason.
Reference
Table of Contents
Classes
Public Classes
pulpcore
: Manage your next generation Pulp serverpulpcore::cli
: = Pulpcore command line interface This class installs the Pulpcore command line interface (CLI). === Parameters: $pulpcore_url:: URLpulpcore::plugin::ansible
: Pulp Ansible pluginpulpcore::plugin::certguard
: Pulp Certguard pluginpulpcore::plugin::container
: Pulp Container pluginpulpcore::plugin::deb
: Pulp Deb pluginpulpcore::plugin::file
: Pulp File pluginpulpcore::plugin::ostree
: Pulp Ostree pluginpulpcore::plugin::python
: Pulp Python pluginpulpcore::plugin::rpm
: Pulp RPM pluginpulpcore::repo
: Configure the Pulpcore repo
Private Classes
pulpcore::apache
: Configure an Apache vhostpulpcore::config
: Configures pulp3pulpcore::database
: Set up the PostgreSQL and Redis databasespulpcore::install
: Install pulpcore packages, configure user and grouppulpcore::service
: configure, enable, and start pulpcore servicespulpcore::static
: Manage the static files (assets)
Defined types
Public Defined types
pulpcore::admin
: Run a pulpcore-manager commandpulpcore::plugin
: Install a plugin
Private Defined types
pulpcore::apache::fragment
: Deploy an Apache fragment. Only intended to be used within the modulepulpcore::socket_service
: Create a systemd socket activated service
Data types
Pulpcore::ChecksumTypes
: The supported checksum types by pulpcorePulpcore::LogLevel
Pulpcore::Logger
Classes
pulpcore
Manage your next generation Pulp server
Examples
Default configuration
include pulpcore
Parameters
The following parameters are available in the pulpcore
class:
user
group
user_home
apache_http_vhost
apache_https_vhost
apache_https_cert
apache_https_key
apache_https_ca
apache_https_chain
apache_vhost_priority
api_socket_path
content_socket_path
config_dir
cache_dir
apache_docroot
media_root
static_root
static_url
postgresql_db_name
postgresql_db_user
postgresql_db_password
postgresql_db_host
postgresql_db_port
postgresql_manage_db
postgresql_db_ssl
postgresql_db_ssl_require
postgresql_db_ssl_cert
postgresql_db_ssl_key
postgresql_db_ssl_root_ca
django_secret_key
redis_db
servername
serveraliases
remote_user_environ_name
authentication_backends
rest_framework_default_authentication_classes
allowed_import_path
allowed_export_path
allowed_content_checksums
worker_count
worker_ttl
service_enable
service_ensure
content_service_worker_count
api_service_worker_count
content_service_worker_timeout
api_service_worker_timeout
api_service_worker_max_requests
api_service_worker_max_requests_jitter
api_client_auth_cn_map
cache_enabled
cache_expires_ttl
log_level
loggers
analytics
hide_guarded_distributions
import_workers_percent
user
Data type: String
Pulp user
Default value: 'pulp'
group
Data type: String
Pulp user group
Default value: 'pulp'
user_home
Data type: Stdlib::Absolutepath
Pulp user home directory
Default value: '/var/lib/pulp'
apache_http_vhost
Data type: Variant[Boolean, String[1]]
When true, deploy a separate apache vhost for pulp3 listening on HTTP. When a name is given, fragments are attached to the specified vhost. When false, no Apache HTTP vhost is touched.
Default value: true
apache_https_vhost
Data type: Variant[Boolean, String[1]]
When true, deploy a separate apache vhost for pulp3 listening on HTTPS. When a name is given, fragments are attached to the specified vhost. When false, no Apache HTTPS vhost is touched.
Default value: true
apache_https_cert
Data type: Optional[Stdlib::Absolutepath]
The certificate file to use in the HTTPS vhost. Only used when apache_https_vhost is true.
Default value: undef
apache_https_key
Data type: Optional[Stdlib::Absolutepath]
The key file to use in the HTTPS vhost. Only used when apache_https_vhost is true.
Default value: undef
apache_https_ca
Data type: Optional[Stdlib::Absolutepath]
The ca file to use in the HTTPS vhost. Only used when apache_https_vhost is true. The ca file should contain the certificates allowed to sign client certificates. This can be a different CA than the chain.
Default value: undef
apache_https_chain
Data type: Optional[Stdlib::Absolutepath]
The chain file to use in the HTTPS vhost. Only used when apache_https_vhost is true. The chain file should contain the CA certificate an any intermediate certificates that signed the certificate.
Default value: undef
apache_vhost_priority
Data type: String[1]
The Apache vhost priority. When a name is passed to apache_http_vhost or apache_https_vhost, this will be used when attaching fragments to those vhosts. Note that this implies both vhosts need to have the same priority.
Default value: '10'
api_socket_path
Data type: Stdlib::Absolutepath
Path where the Pulpcore API service is listening. This is a unix socket.
Default value: '/run/pulpcore-api.sock'
content_socket_path
Data type: Stdlib::Absolutepath
Path where the Pulpcore Content service is listening. This is a unix socket.
Default value: '/run/pulpcore-content.sock'
config_dir
Data type: Stdlib::Absolutepath
Pulp configuration directory. The settings.py file is created under this directory.
Default value: '/etc/pulp'
cache_dir
Data type: Stdlib::Absolutepath
Pulp cache directory. This is used to configure WORKING_DIRECTORY and FILE_UPLOAD_TEMP_DIR.
Default value: '/var/lib/pulp/tmp'
apache_docroot
Data type: Stdlib::Absolutepath
Root directory for the Apache vhost. Only created if the Apache vhost is managed by this module.
Default value: '/var/lib/pulp/pulpcore_static'
media_root
Data type: Stdlib::Absolutepath
Directory for Pulp's uploaded media. This corresponds to the MEDIA_ROOT setting.
Default value: '/var/lib/pulp/media'
static_root
Data type: Stdlib::Absolutepath
Root directory for collected static content. This corresponds to the STATIC_ROOT setting.
Default value: '/var/lib/pulp/assets'
static_url
Data type: Pattern['^/.+/$']
The "URL" that serves the collected static content. This corresponds to the STATIC_URL setting. In reality this can also be just the path and doesn't have to be a full URL.
Default value: '/assets/'
postgresql_db_name
Data type: String
Name of Pulp PostgreSQL database
Default value: 'pulpcore'
postgresql_db_user
Data type: String
Pulp PostgreSQL database user
Default value: 'pulp'
postgresql_db_password
Data type: String
Password of Pulp PostgreSQL database
Default value: extlib::cache_data('pulpcore_cache_data', 'db_password', extlib::random_password(32))
postgresql_db_host
Data type: Stdlib::Host
Host to connect to Pulp PostgreSQL database
Default value: 'localhost'
postgresql_db_port
Data type: Stdlib::Port
Port to connect to Pulp PostgreSQL database
Default value: 5432
postgresql_manage_db
Data type: Boolean
Whether or not to manage the PostgreSQL installation. If false, a database at the specified host and port is expected to exist and the user should have sufficient permissions.
Default value: true
postgresql_db_ssl
Data type: Boolean
Whether to configure SSL connection for PostgresQL database. The configuration is only applied if the PostgresQL database is unmanaged.
Default value: false
postgresql_db_ssl_require
Data type: Optional[Boolean]
Specifies whether pulpcore is configured to require an encrypted connection to the unmanaged PostgreSQL database server.
Default value: undef
postgresql_db_ssl_cert
Data type: Optional[Stdlib::Absolutepath]
Path to the SSL certificate to be used for the SSL connection to PostgreSQL.
Default value: undef
postgresql_db_ssl_key
Data type: Optional[Stdlib::Absolutepath]
Path to the key to be used for the SSL connection to PostgreSQL.
Default value: undef
postgresql_db_ssl_root_ca
Data type: Optional[Stdlib::Absolutepath]
Path to the root certificate authority to validate the certificate supplied by the PostgreSQL database server.
Default value: undef
django_secret_key
Data type: String
SECRET_KEY for Django
Default value: extlib::cache_data('pulpcore_cache_data', 'secret_key', extlib::random_password(50))
redis_db
Data type: Integer[0]
Redis DB number to use. By default, Redis supports a DB number of 0 through 15.
Default value: 8
servername
Data type: Stdlib::Fqdn
Server name of the VirtualHost in the webserver
Default value: $facts['networking']['fqdn']
serveraliases
Data type: Array[Stdlib::Fqdn]
Server aliases of the VirtualHost in the webserver
Default value: []
remote_user_environ_name
Data type: String[1]
Django remote user environment variable
Default value: 'HTTP_REMOTE_USER'
authentication_backends
Data type: Array[String[1]]
List of used authentication backends
Default value: ['pulpcore.app.authentication.PulpNoCreateRemoteUserBackend']
rest_framework_default_authentication_classes
Data type: Array[String[1]]
List of used REST framework default authentication classes
Default value:
[
'rest_framework.authentication.SessionAuthentication',
'pulpcore.app.authentication.PulpRemoteUserAuthentication',
]
allowed_import_path
Data type: Array[Stdlib::Absolutepath]
Allowed paths that pulp can use for content imports, or sync from using file:// protocol
Default value: ['/var/lib/pulp/sync_imports']
allowed_export_path
Data type: Array[Stdlib::Absolutepath]
Allowed paths that pulp can use for content exports
Default value: []
allowed_content_checksums
Data type: Pulpcore::ChecksumTypes
List of checksum types to allow for content operations
Default value: ['sha224', 'sha256', 'sha384', 'sha512']
worker_count
Data type: Integer[0]
Number of pulpcore workers. Defaults to 8 or the number of CPU cores, whichever is smaller. Enabling more than 8 workers, even with additional CPU cores available, likely results in performance degradation due to I/O blocking and is not recommended in most cases. Modifying this parameter should be done incrementally with benchmarking at each step to determine an optimal value for your deployment.
Default value: min(8, $facts['processors']['count'])
worker_ttl
Data type: Optional[Integer[0]]
Configure Pulpcore's WORKER_TTL setting. This is the number of seconds before a Pulpcore worker should be considered lost. If undefined, the setting will be omitted from the configuration file and Pulpcore will use its default value. To determine the current value in Pulpcore, see instructions about the diffsettings tool in this module's README. You should not need to modify this setting unless the application reports workers timing out while they are busy completing tasks. Modification should be performed incrementally to determine the least value that prevents false positive worker timeouts.
Default value: undef
service_enable
Data type: Boolean
Enable/disable Pulp services at boot.
Default value: true
service_ensure
Data type: Boolean
Specify if Pulp services should be running or stopped.
Default value: true
content_service_worker_count
Data type: Integer[0]
Number of pulpcore-content service workers for gunicorn to use. Modifying this parameter should be done incrementally with benchmarking at each step to determine an optimal value for your deployment.
Default value: (2*min(8, $facts['processors']['count']) + 1
api_service_worker_count
Data type: Integer[0]
Number of pulpcore-api service workers for gunicorn to use. Modifying this parameter should be done incrementally with benchmarking at each step to determine an optimal value for your deployment.
Default value: min(4, $facts['processors']['count']) + 1
content_service_worker_timeout
Data type: Integer[0]
Timeout in seconds of the pulpcore-content gunicorn workers.
Default value: 90
api_service_worker_timeout
Data type: Integer[0]
Timeout in seconds of the pulpcore-api gunicorn workers.
Default value: 90
api_service_worker_max_requests
Data type: Integer[0]
Number of requests a gunicorn worker will process before restarting.
Default value: 800
api_service_worker_max_requests_jitter
Data type: Integer[0]
Jitter to add to the max_requests setting of the gunicorn worker.
Default value: 100
api_client_auth_cn_map
Data type: Hash[String[1], String[1]]
Mapping of certificate common name and Pulp user to authenticate to Pulp API.
Default value: {}
cache_enabled
Data type: Boolean
Enables Redis based content caching within the Pulp content app.
Default value: false
cache_expires_ttl
Data type: Optional[Variant[Integer[1], Enum['None']]]
The number of seconds that content should be cached for. Specify 'None' to never expire the cache.
Default value: undef
log_level
Data type: Pulpcore::LogLevel
Sets the log level for the root logger.
Default value: 'INFO'
loggers
Data type: Hash[String[1], Pulpcore::Logger]
Configure additional loggers or override pre-defined logger configuration.
Default value: {}
analytics
Data type: Optional[Boolean]
Configure ANALYTICS in settings.yml, which controls the reporting of anonymous data to https://analytics.pulpproject.org/, starting with Pulpcore version 3.21.0, to guide Pulp project developers. Set this to false to opt out of this anonymous reporting; if undef, it will instead be omitted from settings.yml and Pulp will report these usage statistics per its default behavior. Originally, the pulp setting was called TELEMETRY and this param was called telemetry; it was renamed by the pulp developers.
Default value: undef
hide_guarded_distributions
Data type: Optional[Boolean]
If activated, the distributions that are protected by a content guard will not be shown on the directory listing in the content app.
Default value: undef
import_workers_percent
Data type: Optional[Integer[1,100]]
What percentage of available-workers will pulpcore use for import tasks at a time. By default, pulpcore will use all available workers.
Default value: undef
pulpcore::cli
= Pulpcore command line interface
This class installs the Pulpcore command line interface (CLI).
=== Parameters:
$pulpcore_url:: URL on which Pulpcore runs
$username:: Username for authentication
$password:: Password for authentication
$cert:: Client certificate for authentication
$key:: Client key for authentication
=== Advanced parameters:
$manage_root_config:: Whether to manage /root/.config/pulp configuration.
$api_root:: Absolute API base path on server (not including 'api/v3/')
$verify_ssl:: Verify SSL connection
$dry_run:: Trace commands without performing any unsafe HTTP calls
$version:: pulp-cli package version, it's passed to ensure parameter of package resource can be set to specific version number, 'latest', 'present' etc.
Parameters
The following parameters are available in the pulpcore::cli
class:
pulpcore_url
Data type: Optional[Stdlib::HTTPUrl]
Default value: undef
version
Data type: String
Default value: 'installed'
username
Data type: Optional[String]
Default value: undef
password
Data type: Optional[String]
Default value: undef
cert
Data type: Optional[String]
Default value: undef
key
Data type: Optional[String]
Default value: undef
api_root
Data type: Optional[String]
Default value: undef
verify_ssl
Data type: Boolean
Default value: true
dry_run
Data type: Boolean
Default value: true
manage_root_config
Data type: Boolean
Default value: true
pulpcore::plugin::ansible
Pulp Ansible plugin
Parameters
The following parameters are available in the pulpcore::plugin::ansible
class:
ansible_galaxy_path
Data type: String
In the Apache configuration the path to forward to the api app for ansible galaxy support
Default value: '/pulp_ansible/galaxy/'
permission_classes
Data type: Optional[Array[String[1]]]
Configure the RBAC permission classes
Default value: undef
pulpcore::plugin::certguard
Pulp Certguard plugin
pulpcore::plugin::container
Pulp Container plugin
Parameters
The following parameters are available in the pulpcore::plugin::container
class:
location_prefix
Data type: String
In the Apache configuration a location with this prefix is exposed. The version (currently v2) will be appended.
Default value: '/pulpcore_registry'
registry_version_path
Data type: String
The path beneath the location prefix to forward. This is also appended to the content base url.
Default value: '/v2/'
pulpcore::plugin::deb
Pulp Deb plugin
Parameters
The following parameters are available in the pulpcore::plugin::deb
class:
use_pulp2_content_route
Data type: Boolean
Whether to redirect the legacy (Pulp 2) URL, /pulp/deb/, to the content server
Default value: false
force_ignore_missing_package_indices
Data type: Boolean
Wheter to set the FORCE_IGNORE_MISSING_PACKAGE_INDICES setting to True or False in /etc/pulp/settings.py.
Default value: true
pulpcore::plugin::file
Pulp File plugin
Parameters
The following parameters are available in the pulpcore::plugin::file
class:
use_pulp2_content_route
Data type: Boolean
Whether to redirect the legacy (Pulp 2) URLs to the content server
Default value: false
pulpcore::plugin::ostree
Pulp Ostree plugin
pulpcore::plugin::python
Pulp Python plugin
pulpcore::plugin::rpm
Pulp RPM plugin
Parameters
The following parameters are available in the pulpcore::plugin::rpm
class:
use_pulp2_content_route
Data type: Boolean
Whether to redirect the legacy (Pulp 2) URLs to the content server
Default value: false
keep_changelog_limit
Data type: Optional[Integer[0]]
Pulpcore's KEEP_CHANGELOG_LIMIT setting. Uses Pulpcore's default when undefined. Increasing this limit will cause pulpcore workers to use more memory when more changelogs are available in the repo metadata.
Default value: undef
allow_automatic_unsafe_advisory_conflict_resolution
Data type: Boolean
Allow resolving of conflicts due to duplicate advisory ids with different creation dates https://docs.pulpproject.org/pulp_rpm/settings.html#allow-automatic-unsafe-advisory-conflict-resolution
Default value: false
pulpcore::repo
Configure the Pulpcore repo
Parameters
The following parameters are available in the pulpcore::repo
class:
version
Data type: Variant[Enum['nightly'], Pattern['^\d+\.\d+$']]
The Pulpcore version to use
Default value: '3.39'
baseurl
Data type: Optional[Stdlib::HTTPUrl]
An optional base URL to be used for yumrepo, instead of the default
Default value: undef
gpgkey
Data type: Optional[String[0]]
An optional value for gpgkey to be used for yumrepo, instead of the default. If an empty string is passed, gpgcheck will be disabled.
Default value: undef
Defined types
pulpcore::admin
Run a pulpcore-manager command
- See also
- exec
Parameters
The following parameters are available in the pulpcore::admin
defined type:
command
Data type: String
The command to run
Default value: $title
refreshonly
Data type: Boolean
The command should only be run as a refresh mechanism for when a dependent object is changed.
Default value: false
unless
Data type: Optional[String]
A test command that checks the state of the target system and restricts when the exec can run.
Default value: undef
path
Data type: Array[Stdlib::Absolutepath]
The path to look for commands.
Default value: ['/usr/bin']
user
Data type: String
The user to execute the command.
Default value: $pulpcore::user
pulp_settings
Data type: Stdlib::Absolutepath
Root directory for static content
Default value: $pulpcore::settings_file
timeout
Data type: Optional[Integer[0]]
The command should timeout after so many seconds.
Default value: undef
working_dir
Data type: Stdlib::Absolutepath
The directory to run pulpcore-manager from.
Default value: $pulpcore::user_home
pulpcore::plugin
Install a plugin
Parameters
The following parameters are available in the pulpcore::plugin
defined type:
package_name
Data type: String
The package name to install
Default value: "pulpcore-plugin(${title})"
config
Data type: Optional[String]
An optional config in the Pulp settings file
Default value: undef
http_content
Data type: Optional[String]
Optional fragment for the Apache HTTP vhost
Default value: undef
https_content
Data type: Optional[String]
Optional fragment for the Apache HTTPS vhost
Default value: undef
Data types
Pulpcore::ChecksumTypes
The supported checksum types by pulpcore
Alias of Array[Enum['md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512'], 1]
Pulpcore::LogLevel
The Pulpcore::LogLevel data type.
Alias of Enum['CRITICAL', 'ERROR', 'WARNING', 'INFO', 'DEBUG']
Pulpcore::Logger
The Pulpcore::Logger data type.
Alias of
Struct[{
level => Pulpcore::LogLevel,
}]
Changelog
11.0.0 (2024-11-04)
Breaking changes:
Fixed bugs:
- properly escape quotes in passwords by calling to_python #361 (evgeni)
- Add Wants=postgresql.service to Pulpcore service files #359 (ekohl)
10.4.0 (2024-09-04)
Implemented enhancements:
Fixed bugs:
10.3.0 (2024-08-14)
Implemented enhancements:
Fixed bugs:
10.2.0 (2024-08-12)
Implemented enhancements:
- Update puppet_metadata to ~> 4.0 and voxpupuli-acceptance to ~> 3.0 #347 (archanaserver)
- Add ability to configure auth backends and classes #346 (Scnaeg)
- Add AlmaLinux 8 & 9 support #345 (archanaserver)
10.1.0 (2024-05-16)
Implemented enhancements:
- Allow puppet/redis 11.x and puppet/systemd 7.x #339 (evgeni)
- use
migrate --check
notmigrate --plan |grep
check for migrations #338 (evgeni) - Allow puppetlabs/apache 12.x #334 (evgeni)
- Allow setting baseurl fact during acceptance tests #333 (Odilhao)
Fixed bugs:
10.0.0 (2024-02-19)
Breaking changes:
Implemented enhancements:
Fixed bugs:
- Ensure glibc-langpack-en is always installed #329 (evgeni)
- Drop pulpcore::plugin::migration #325 (ekohl)
9.0.0 (2023-11-28)
Breaking changes:
Implemented enhancements:
- Use the yumrepo type to manage the repository & expose more params #320 (ekohl)
- Support nightly repository version #318 (ehelms)
8.6.0 (2023-11-15)
Implemented enhancements:
- Mark compatible with puppetlabs/postgresql 10.x #316 (ekohl)
- Mark compatible with puppet-extlib 7.x #314 (ekohl)
- Mark compatible with puppet/systemd 6.x #313 (ekohl)
- Mark compatible with puppetlabs/apache 11.x #308 (ekohl)
- Add Puppet 8 support #297 (bastelfreak)
8.5.0 (2023-09-18)
Implemented enhancements:
8.4.0 (2023-08-22)
Implemented enhancements:
- allow configuring IMPORT_WORKERS_PERCENT #302 (evgeni)
- don't setup ansible-29 repo in acceptance tests #301 (evgeni)
8.3.0 (2023-08-16)
Implemented enhancements:
- Support Pulp 3.28 #299 (ekohl)
- puppetlabs/stdlib: Allow 9.x & puppet/systemd: Allow 5.x & puppetlabs/concat: Allow 9.x #296 (bastelfreak)
- Relax max_requests #295 (dralley)
8.2.0 (2023-06-20)
Implemented enhancements:
- allow configuring HIDE_GUARDED_DISTRIBUTIONS setting #292 (evgeni)
- allow puppet/redis 9.x #291 (evgeni)
8.1.0 (2023-05-26)
Implemented enhancements:
- Fixes #36438 - configure API request limit to avoid memory leaks #289 (evgeni)
- Fixes #36437 - preload pulpcore API and content code #288 (evgeni)
- use
--workers
instead of-w
when configuring gunicorn workers #287 (evgeni)
8.0.0 (2023-05-15)
Breaking changes:
- Refs #36345 - Raise minimum Puppet version to 7.0.0 #281 (ekohl)
- Drop Pulpcore 3.16 - 3.18, add EL 9 support #277 (ekohl)
Implemented enhancements:
- Mark compatible with puppetlabs/postgresql 9.x & puppetlabs/apache 10.x & puppetlabs/concat 8.x #280 (ekohl)
- Mark compatible with puppet-systemd 4 #278 (ekohl)
Merged pull requests:
7.2.0 (2023-03-06)
Implemented enhancements:
- Fixes #36030 - Ensure HStore is enabled for Pulp 3.22 support #275 (ekohl)
- Add param for unsafe advisory conflict resolution #274 (m-bucher)
7.1.0 (2022-12-13)
Implemented enhancements:
- Remove unused CONTENT_HOST setting #271 (ekohl)
- Expose Apache server aliases as a parameter #269 (ekohl)
Fixed bugs:
- Fix broken links in
README.md
#273 (alexjfisher)
7.0.1 (2022-11-02)
Fixed bugs:
7.0.0 (2022-10-28)
Breaking changes:
Implemented enhancements:
- Fixes #35607 - Configure Pulpcore's TELEMETRY setting #267 (wbclark)
- Add pulpcore 3.21 support #266 (sjha4)
- Add a loggers parameter and set default loggers #265 (ekohl)
- Fixes #35496 - Add default pulp_deb config #263 (quba42)
- Allow puppetlabs/apache 8.x #261 (ekohl)
- Update to voxpupuli-test 5 #258 (ekohl)
- Add Pulpcore 3.18 support #256 (ianballou)
Fixed bugs:
6.0.0 (2022-04-20)
Breaking changes:
Implemented enhancements:
- Fixes #34684 - install pulp-cli #252 (evgeni)
- Allow extlib 6.x, apache 7.x, stdlib 8.x, postgresql 8.x #246 (ekohl)
5.2.1 (2022-02-03)
Fixed bugs:
5.2.0 (2022-01-25)
Implemented enhancements:
5.1.0 (2021-10-29)
Implemented enhancements:
- Fixes #33766 - Support Pulpcore 3.15 #238 (ekohl)
- Fixes #33765 - Use a system user without a login shell #237 (ekohl)
- Refs #33751 - support ostree and python #236 (jlsherrill)
- Fixes #33733 - generate key for db encryption #235 (jlsherrill)
- use provides, not the python package name for plugins #233 (evgeni)
- Fixes #33445: Increase default API gunicorn worker count #231 (jlsherrill)
- Fixes #33446 - Allow configuring Pulpcore worker timeout #230 (wbclark)
- Switch to puppet/systemd & allow puppet/redis 8 #228 (ekohl)
- Fixes #33687 - Add warning not to directly edit settings.py #223 (wbclark)
Fixed bugs:
Closed issues:
- Ordering issue when adding repository #225
5.0.0 (2021-07-27)
Breaking changes:
Implemented enhancements:
Fixed bugs:
4.0.1 (2021-07-13)
Fixed bugs:
4.0.0 (2021-07-12)
Breaking changes:
Implemented enhancements:
- Fixes #32968: Add ability to modify log level #212 (ehelms)
- Refs #32917 - Don't deploy or configure Redis with new tasking system #207 (wbclark)
- Refs #32910: Add ability to enable content caching #204 (ehelms)
- Fixes #32891 - Add feature to enable new tasking system and enable it by default #203 (wbclark)
- Support version 3.11 #201 (ekohl)
- Introduce a private socket_service helper #199 (ekohl)
- Support Puppet 7 #174 (ekohl)
Fixed bugs:
3.4.0 (2021-05-19)
Implemented enhancements:
- Allow Puppet 7 compatible versions of mods #187 (ekohl)
- Refs #32383: Configurable client certificate authentication to Pulp #186 (ehelms)
Fixed bugs:
2.2.3 (2021-05-19)
3.3.0 (2021-04-21)
Implemented enhancements:
- Fixes #31950 - support ansible plugin #184 (jlsherrill)
- Add support for ALLOWED_CONTENT_CHECKSUMS #183 (jlsherrill)
3.2.1 (2021-04-15)
Fixed bugs:
3.2.0 (2021-03-24)
Implemented enhancements:
- Refs #32112 - Match upstream pulp default api service worker timeout #179 (wbclark)
- Fixes #32112 - Configure api service gunicorn worker timeout #178 (wbclark)
- Pulpcore logging format to include correlation id. #175 (jjeffers)
3.1.0 (2021-02-09)
Implemented enhancements:
- Fixes #31835: Add disablereuse=on for pulpcore-content service #171 (ehelms)
- Fixes #31815 - Allow setting number of workers for content app #170 (ehelms)
3.0.0 (2021-01-28)
Breaking changes:
Implemented enhancements:
- Refs #31670 - don't timeout DB migrations #163 (evgeni)
- Allow setting parameters on the API and Content Apache proxy #160 (ehelms)
- Increase the secret key size to 50 chars #158 (ekohl)
- Set the reverse proxy host to the name of the service #153 (ehelms)
Fixed bugs:
- Include pulpcore in pulpcore::apache #169 (ehelms)
- Fixes #31694: systemd service type should be Type #165 (ehelms)
- Add proxy params to plugin Pulp 2 content routes #161 (ehelms)
- Fixes #31468 - create import/export directories #154 (jeremylenz)
2.2.2 (2021-01-21)
Fixed bugs:
2.2.1 (2020-12-09)
Fixed bugs:
2.2.0 (2020-12-07)
Implemented enhancements:
- Set logoutput to on_failure for pulpcore::admin #148 (ekohl)
- Fixes #30436 - add allowed_export_paths to settings.py #147 (jeremylenz)
Fixed bugs:
Merged pull requests:
2.1.0 (2020-11-11)
Implemented enhancements:
- support /pulp/deb proxying #145 (jlsherrill)
- Add ability to control if services are enabled or active #137 (ehelms)
- Support Pulpcore 3.7 #127 (ekohl)
2.0.0 (2020-10-29)
Breaking changes:
- Switch to using a Unix socket bind for API and Content services #124 (ehelms)
- Fixes #30465 - Use libexec wrappers for SELinux #116 (ekohl)
- Fixes #30423 - Change the application layout #115 (ekohl)
Implemented enhancements:
- Drop pid files and fix working dirs #125 (ekohl)
- Add Pulpcore repository class #123 (ekohl)
- Set docroot to pulpcore_static #141 (ekohl)
Fixed bugs:
- use absolute paths in unit files #129 (wbclark)
- Fixes #31018 - Force UTF-8 database encoding #126 (ekohl)
Merged pull requests:
- Describe the service setup in README #135 (ekohl)
- Expand README with more about the support policy. #128 (ekohl)
1.3.0 (2020-09-23)
Implemented enhancements:
Fixed bugs:
- Manage the static assets via a class #121 (ekohl)
- Refs #30780 - set proper content origin setting #119 (jlsherrill)
- Fixes #30770 - check for the admin user before pw reset #118 (jlsherrill)
1.2.0 (2020-08-06)
Implemented enhancements:
- Fixes #29895 - add pulp_deb plugin #112 (m-bucher)
- Use pulpcore-manager #111 (ekohl)
- Refs #30057 - Configure Pulpcore Worker Count #100 (wbclark)
Fixed bugs:
1.1.0 (2020-06-30)
Implemented enhancements:
- Use the non-deprecated namedspaced pg function #106 (ekohl)
- Fixes #30059 - Add certguard plugin #99 (sjha4)
- Fixes #29075 - add pulp_rpm plugin #89 (wbclark)
Fixed bugs:
- Refs #30133 - Unconditionally install RHSM for certguard #103 (ekohl)
- Fixes #30133 - Install python3-subscription-manager-rhsm #101 (sjha4)
Merged pull requests:
1.0.0 (2020-05-14)
Breaking changes:
Implemented enhancements:
- Allow puppet/redis 6.x #95 (ekohl)
- Revert "Pin Facter to \< 4" #86 (ekohl)
- Create admin user #85 (sjha4)
- Allow extlib 5.x #84 (mmoll)
- Fixes #29190 - Support EL8 #77 (wbclark)
Fixed bugs:
0.2.0 (2020-03-19)
Implemented enhancements:
- Fixes #29069 - Apply selinux labels to pulpcore ports #72 (wbclark)
- Refs #28901 - Support SSL connection for external postgresql database #71 (wbclark)
Merged pull requests:
- Pin Facter to \< 4 #81 (ekohl)
- enable httpd_can_network_connect selinux boolean #76 (wbclark)
- Prepare acceptance tests for EL8 #75 (ekohl)
- Fixes #28996 - Set PULP_STATIC_ROOT #69 (wbclark)
0.1.0 (2020-02-13)
Closed issues:
- package installation in plugin.pp should be option #59
- configurable REMOTE_USER_ENVIRON_NAME #58
- Pulp 2 and 3 API calls through Apache don't play nice #49
- Add smoke tests to nightly installer pipelines #42
- Check on pulpcore-resource-manager naming and configuration form latest ansible-pulp #36
- Update CONTENT_ORIGIN to match proper value ansible-pulp #35
- Make PULP2 mongodb settings configurable #33
- Add database migration command #23
- Allow disabling management of Apache via a paramter #11
- Support external postgresql #10
- Allow specification of externally managed PostgreSQl instance #4
- Update to use django-admin solution for pulpcore #39
- Update Redis database number to '8' #34
- Drop Ansible settings #32
- Secret key handling #31
- pulp-api fails to start due to permission denied on key #22
- The 'gunicorn' command is located at /usr/bin #20
- The 'rq' command is located at /usr/bin #19
- Manage of user_home "/var/lib/pulp" clashes with dependency in Katello #17
- Drop settings PostgreSQL globals #16
- Install from RPM repos rather than PyPI #9
- Allow using Redis configured by Foreman #7
- Deploy Apache configurations to Foreman vhost #5
Merged pull requests:
- Refs #28901 - add setting postgresql_db_user #67 (wbclark)
- Refs #28720 - Fixup migration variables and template #66 (wbclark)
- Verify everything to have documented parameters #65 (ekohl)
- Fixes #28901 - support external postgresql #64 (wbclark)
- Refs #28720 - move migration params into migration plugin #63 (wbclark)
- Fixes #28904 - make REMOTE_USER_ENVIRON_NAME configurable #61 (synkd)
- Fixes #28812 - fix permissions to allow pulp2 access #60 (jlsherrill)
- Fixes #28720 - connect to mongo for content migrations #57 (wbclark)
- Fixes #28654 - support client cert auth with pulp3 #56 (wbclark)
- Run acceptance tests with SCL redis #54 (ekohl)
- Update pulpcore worker systemd naming #53 (ianballou)
- use puppet-redis > 5.0.0 #52 (wbclark)
- Specify /pulp/api/v3 #50 (wbclark)
- Use koji in acceptance tests and use python3-django-admin #48 (wbclark)
- make servername configurable #45 (wbclark)
- Improve settings. #44 (wbclark)
- Introduce a pulpcore::admin define #43 (ekohl)
- Refresh collectstatic on the settings file #29 (ekohl)
- collectstatic needs --noinput to avoid waiting on user input #28 (ehelms)
- fixes #16: Drop postgresql globals #26 (ehelms)
- fixes #23: Only run database migrations if they are any pending #25 (ehelms)
- Install pulpcore from RPM packages + chaining + pg client #24 (ekohl)
- remove redundant reverse proxy declarations #15 (wbclark)
- don't enable software collections #14 (wbclark)
- improve declaration of api and content urls #13 (wbclark)
- apache vhost can be externally managed #12 (wbclark)
- fixed default params #8 (wbclark)
- Creation of initial classes #2 (wbclark)
- initial setup via modulesync #1 (wbclark)
- Add file and container plugins #30 (ekohl)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs/concat (>= 4.0.0 < 10.0.0)
- puppetlabs/stdlib (>= 8.3.0 < 10.0.0)
- puppet/redis (>= 5.0.0 < 12.0.0)
- puppetlabs/apache (>= 5.4.0 < 13.0.0)
- puppetlabs/postgresql (>= 6.5.0 < 11.0.0)
- puppet/systemd (>= 2.2.0 < 8.0.0)
- puppet/extlib (>= 3.0.0 < 8.0.0)
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS