Skip to content

Instantly share code, notes, and snippets.

@jlsherrill
Last active September 28, 2018 14:00
Show Gist options
  • Save jlsherrill/ff1c71371e1489be0d1e to your computer and use it in GitHub Desktop.
Save jlsherrill/ff1c71371e1489be0d1e to your computer and use it in GitHub Desktop.
Regenerating Applicability

This will force applicability regeneration for all systems:

# mongodb pulp_database
 
 db.repo_profile_applicability.drop()
 quit()
# foreman-rake console

 User.current = User.anonymous_api_admin
 Katello.pulp_server.extensions.consumer.regenerate_applicability_by_ids(Katello::System.pluck(:uuid))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment