tangledhelix/puppet — comment on commit 6a9fe6485374b73828ceddb9e16f6dafd7cfecb5
File: lib/puppet/indirector/key/file.rb line 37
By joshcooper:

I think this needs to be conditional in the case where the request key does not refer to the ca, something like:

Puppet.settings.writesub(ca?(request.key) ? :capub : :publickeydir, ...)