#403 [Debian] conf.d is present but ignored by default
*What steps will reproduce the problem?*
1. See conf.d directory in fresh 0.9.3 installation on Debian Wheezy
2. Add configuration chunks to it
I expect them to be picked up automatically on start. Instead, they are not.
Many Debian packages (apt, emacs, alsa, xorg...) have been moving to a model where instead of foo.conf containing both distribution and administrator configuration, there is a foo.conf with just distribution config and a foo.d/ directory where admins (and other packages!) can drop configuration, scripts, etc. It appears that Prosody used to automatically include this dir but no longer does, yet the dir itself is still packaged.
There are two obvious ways to resolve this discrepancy: Remove the dir from the package or add the Include line again. I would vastly prefer the latter, since it makes my backup, configuration, and upgrade procedures much nicer; I can simply drop a config file into place, and on upgrade I don't need to diff the config file and pick out my host configuration.
I should note that the example config and the website docs don't mention the Include directive necessary to perform the workaround:
Did you install using Debian packages from the Debian or our repos? Or did you install from source?
We document this on our page for packagers , but the text could be improved. This line is included by default in our Debian packages.
Alright, this line may have been removed from the default package config during our last reset of the package build system (we switched from home grown scripts to a standard Debian package building environment). We'll fix this, thanks for the report.
Waqas, stick to the Windows packages and stop making things up :)
Our Debian packages have never used conf.avail/conf.d. I'm not sure why they are creating conf.d, this is probably a mistake.
When Prosody was added to Debian officially, the package was converted to use a split config structure that is commonly found in other Debian daemons. However our package on packages.prosody.im continued with a single config.
My personal opinion is that split configs are more confusing and harder to debug. If we *were* ever to adopt them then I would at least want some better tooling (similar to Apache's a2ensite, etc.) and a way to produce a merged file for debugging purposes. I know very well that not everyone shares this view :)
Finally I'll note that the difference between the packages generally isn't a problem. If people start using the Debian packages, and upgrade to ours, as long as they keep their config when they upgrade (which I generally recommend) then they'll continue to have support for split configs. Likewise if they move from ours to Debian's, everything will continue to work.