Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve collectstatic handling #27

Open
ekohl opened this issue Dec 9, 2019 · 0 comments
Open

Improve collectstatic handling #27

ekohl opened this issue Dec 9, 2019 · 0 comments

Comments

@ekohl
Copy link
Member

ekohl commented Dec 9, 2019

There's currently a collectstatic job:

exec { 'django-admin collectstatic':
path => ['/usr/local/bin', '/usr/bin'],
environment => [
'DJANGO_SETTINGS_MODULE=pulpcore.app.settings',
"PULP_SETTINGS=${pulpcore::settings_file}",
],
refreshonly => true,
}

This is refreshonly and uses the settings file, but doesn't refresh on it. There may also be other reasons to explicitly trigger it. For example when a yum update happens outside of its control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant