Re:Cast Project - The Open Deployment Platform
by russell_h on Tuesday April 26, 2011 @07:43PM
(#2487737)
You're pretty much correct, but the building/installing step is responsible for a lot more Cast code than the runit part is.
When you run "create instance redis0" the high level steps are:
1. Create a new directory structure in which to install redis.
2. Copy all the redis files into a version-specific location in that structure.
3. Process any templates (for config files, etc) that were provided.
4. Create symlinks from the version-specific install location into a version-independent data root.
5. Create various symlinks for tracking the 'current' version, etc.
6. Create the runit script.
I might be forgetting a step somewhere in there, but you get the idea.edit: fix list formatting
Back to Cast though, the "create instance redis0" example is basically just creating a runit script?
Understood that "just" covers a lot, including the auth, agent, etc. But the thing it's actually doing on the server (after building/installing the requested package) is adding a runit script right?