Skip to content

Commit

Permalink
Add remote_old_repodata and remove_old_repodata_threshold to optional…
Browse files Browse the repository at this point in the history
… config.

re #2788
https://pulp.plan.io/issues/2788

(cherry picked from commit d1fc3ee)
  • Loading branch information
werwty authored and pcreech committed Dec 18, 2017
1 parent 71905c8 commit 5ac5f94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/pulp_rpm/plugins/distributors/yum/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
OPTIONAL_CONFIG_KEYS = ('gpgkey', 'auth_ca', 'auth_cert', 'https_ca', 'checksum_type',
'http_publish_dir', 'https_publish_dir', 'protected',
'skip', 'skip_pkg_tags', 'generate_sqlite', 'force_full',
'repoview', 'updateinfo_checksum_type', 'gpg_sign_metadata')
'repoview', 'updateinfo_checksum_type', 'gpg_sign_metadata',
'remove_old_repodata', 'remove_old_repodata_threshold')

ROOT_PUBLISH_DIR = '/var/lib/pulp/published/yum'
MASTER_PUBLISH_DIR = os.path.join(ROOT_PUBLISH_DIR, 'master')
Expand Down

0 comments on commit 5ac5f94

Please sign in to comment.