Fall back to system config location for non-root users if user config is not provided#2990
Conversation
|
Note that I decided to pull on a thread here a bit, thus the explosion in size -- most of the noise comes from the last commit, which is where I ran a markdown formatter on our docs to enforce the "one sentence per line" standard some subset of "we" agreed on some time ago but never enforced. I will take this PR back out of draft mode once I double check that docs build/render correctly. |
turetske
left a comment
There was a problem hiding this comment.
A few very minor comments. I didn't bother checking every change your markdown formatting did.
Obviously make sure the linter check succeeds and the docs look good and ping me again.
401614d to
467ecb1
Compare
… not provided I thought this was a feature previously, but it turns out it probably wasn't. In any case, Pelican now falls back to its standard system config location '/etc/pelican' in the event that a non-root user doesn't supply their own config. This behavior is needed for site-local caches because HTCondor jobs don't run as root, and system admins need a way to configure which Cache an EP will use without pre-generating config for each individual user of the EP.
This is a standard some subset of the Royal "We" agreed on a while ago, but a standard uncommunicated and unvalidated is no standard at all. While my eyes are on this page, I'll fix it up. Soon to come -- a linter rule!
I hadn't realized we already run pre-commit in CI
467ecb1 to
b918a76
Compare
Sigh, looks like mdformat works for .md but not .mdx
|
I gave up on trying to format |
I thought this was a feature previously, but it turns out it probably wasn't.
In any case, Pelican now falls back to its standard system config location '/etc/pelican' in the event that a non-root user doesn't supply their own config.
This behavior is needed for site-local caches because HTCondor jobs don't run as root, and system admins need a way to configure which Cache an EP will use without pre-generating config for each individual user of the EP.