Skip to content

Configure Pulp ALLOWED_IMPORT_PATHS and ALLOWED_EXPORT_PATHS #445

@ianballou

Description

@ianballou

Import/export functionality fails unless Pulp is configured to allow exporting to /var/lib/pulp/exports, for example. foremanctl should configure the same import/export locations as Katello admins are used to.

Example from my forklift Katello development box:

ALLOWED_IMPORT_PATHS = ["/var/lib/pulp/sync_imports", "/var/lib/pulp/imports"]
ALLOWED_EXPORT_PATHS = ["/var/lib/pulp/exports"]

Excerpt from puppet-foreman_proxy_content:

https://github.com/theforeman/puppet-foreman_proxy_content/blob/e942c0956c25106585e2da2538efea8a61a7594a/manifests/init.pp#L151-L152

Users should be allowed to configure these values via foremanctl so that they may export to different filesystem locations and import from custom locations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions