On 08/23/2011 12:59 PM, Lukas Zapletal wrote:
On 08/23/2011 08:58 AM, Ohad Levy wrote:
> IMHO it should be a separate service, as we are planning to switch to
> apache/thin (there would be no katello startup script anymroe).
Yeah the plan is:
- As a dev, I'd like to migrate to apache2/thin
- change the application root url (/katello)
- As a user, I'd like to have katello super init script
- move initdb and depcheck out of katello init script
- new super init script "katello" (starts apache, thin and jobs)
- similar to pulp-server init script
In any case we should allow user possibility to deploy it on different
box. Since repo syncing and other long-running processes can be really
time/resource consuming, users could run it on a separate box.
I did not want to confuse users and start start katello-jobs from
katello service itself. Rather than creating one new script (katello,
katello-server and katello-jobs) I decided to postpone this after we
migrate to thin.
The installation documentation is up-to-date. I hope we will switch soon.
From a managed system perspective, imho, each service should activate
only itself.
this becomes a real issue if you share a daemon across applications
(such as apache, or a database).
we currently have the scenario, that upon pulp restart, it also restarts
apache and mongo, what if we run katello on the same box?
from puppet point of view, each service must be managed one time,
otherwise you get unexpected results (service gets restarted at the
wrong time for example).
my two cents.
Ohad