1 |
On Sat, Oct 16, 2004 at 05:35:00PM +0200 or thereabouts, Jose Gonzalez Gomez wrote: |
2 |
> What about having a common configuration personalized for every |
3 |
> machine? Let's say I have a lot of web servers, but there is something |
4 |
> inside some configuration files that is dependant on the machine, like |
5 |
> the machine name, or the domain name of the machine. Does cfengine |
6 |
> handle such a situation, replacing those variables with proper values? |
7 |
|
8 |
Yes, of course. |
9 |
|
10 |
> If so, I guess I also could automate the process of SSL certificate |
11 |
> creation, using a proper name and domain for every machine controlled by |
12 |
> cfengine... |
13 |
|
14 |
I've never done this, but I imagine it would be possible. |
15 |
|
16 |
> I'm very interested on this. So this means you could make a very |
17 |
> basic installation of Gentoo, and then configure cfengine and tell the |
18 |
> machine: "you will be a mail server", so the machine then installs every |
19 |
> needed package and configure itself? |
20 |
|
21 |
Yes. Right now, we can install a basic Gentoo server, assign it to the |
22 |
"rsync" group in our cfengine setup and it will fully handle the setup to |
23 |
make that server an rsync.gentoo.org server. All package installation, |
24 |
configuration files, etc. are handled through cfengine. |
25 |
|
26 |
> Do you have some pointer to any docs regarding this? |
27 |
|
28 |
Unfortunatley, no. Documentation is one area of weakness. Once you get the |
29 |
hang of cfengine's syntax, however, it's really not that hard to set up and |
30 |
get working. The hardest part is thinking of all the different steps that |
31 |
must be done in order to set up a (web|rsync|ftp|mail) server the correct |
32 |
way. |
33 |
|
34 |
--kurt |