ocf / ocflib

Python libraries for account and server management
https://pypi.python.org/pypi/ocflib
Other
15 stars 32 forks source link

Add vhost.config for generating server configs #72

Closed matthew-mcallister closed 7 years ago

matthew-mcallister commented 7 years ago

As part of this addition, the app vhost config file now uses the same format as the regular vhost config file.

The corresponding changes to puppet will have to wait until revisions here are done.

matthew-mcallister commented 7 years ago

I don't remember all the details of why I originally had the idea to put all of this code in ocflib (something about deploying death on mesos), but that doesn't matter because ultimately @chriskuehl is right that most of it doesn't belong here.

For what it's worth, I don't think it would be too much of a stretch to have ocflib generate generic config files. Stuff like fastcgi and php in the apache config template, though, are way too specific to the host config to be here.