Commit Graph

25 Commits

Author SHA1 Message Date
Antoine Beaupré 105df9229a slaves shouldn't try to configure mysql 2013-04-02 20:38:42 +00:00
Antoine Beaupré 7ee6c29403 make slaves work again: add missing depends, detect version properly and add missing group 2013-04-02 20:34:02 +00:00
Antoine Beaupré d31d1700d5 allow simple rndc reload in sudoers 2009-08-06 18:06:39 +00:00
Antoine Beaupré 26a84f118f proper rbash path 2009-08-06 18:05:08 +00:00
Antoine Beaupré b25bafbe8d don't run upgrade scripts on slaves 2009-08-06 17:24:58 +00:00
Antoine Beaupré be984faa91 usermod doesn't take --quiet 2009-08-06 17:22:55 +00:00
Antoine Beaupré c0a7de7ae8 remote master-key variable: it's configured on the master and propagated to the slave through /var/alternc now 2009-08-04 20:09:12 +00:00
Antoine Beaupré 337ca00337 add the concept of slaves in alternc core. slaves now have an alternc account that gets created by the alternc-slave package that the master can use to restart apache and bind on the fly 2009-07-27 21:21:26 +00:00
Antoine Beaupré f47b431596 configure alternc-slave as a primary MX for the main server
this aims to resolve a lot of mail problems we are having on our deployment at Koumbit
2008-10-23 18:37:40 +00:00
Antoine Beaupré a3bf66c5e7 use scponly for the mergelog account 2008-10-16 21:52:31 +00:00
Antoine Beaupré 64827fbbc1 fixup key managemetn script 2008-10-16 21:31:05 +00:00
Antoine Beaupré 82d4a46f65 fix test call 2008-10-16 21:23:22 +00:00
Antoine Beaupré 8ea0fcfde7 add hooks in debconf to create a special user to collect apache logs 2008-10-16 21:15:22 +00:00
Antoine Beaupré 0184e3c641 move the apache config code into alternc.install
this makes sure that apache is properly restarted after install and factors code out of the two postinst files
2008-10-07 17:21:18 +00:00
Antoine Beaupré 57b5a642cb create a apache2 configuration file, required because of the logfile location 2008-10-07 17:05:18 +00:00
Antoine Beaupré 2e9a859a07 fix apache2 and apache-ssl configuration
Closes: #1017
2008-10-07 16:42:40 +00:00
Antoine Beaupré 3bcb5159f9 stop overwriting named.conf
starting this release, only named.conf.options will be replaced (as we
need to modify the options {} block and can't just add another one). We
still install a named.conf, a fresh version from Lenny this time, so
that we get a clean start.

Also get rid of the bind_internal parameter that is not really used or
recommended, as it allows for authoritative nameservers to also serve
recursive queries (which is bad practice).

See: #1025
Closes: #1104
2008-10-06 23:58:04 +00:00
Antoine Beaupré e2b74aaa1b fix debconf prompts 2008-10-06 21:30:48 +00:00
Antoine Beaupré cdb3a1e281 remove alternc/mynetwork debconf parameter, stop overriding it in
postfix

also split the config prompts between slave and non-slave package

See: #1029
2008-10-06 21:13:11 +00:00
Antoine Beaupré 277f17fc11 try to remove bashsisms from postinst script 2008-10-04 20:45:38 +00:00
Antoine Beaupré 8c1962223a revert back to r2306: stay with only two packages for now, which should unbreak the main alternc package 2008-10-04 20:25:03 +00:00
Antoine Beaupré 09c776f003 tentative splitting of alternc into multiple packages 2008-10-04 19:58:38 +00:00
Antoine Beaupré 1e1ed9a288 don't attempt to remove the apacheconf from /var/alternc 2008-10-04 18:26:14 +00:00
Antoine Beaupré c2c91d5729 /var/alternc specific instructions were removed from the wrong postinst 2008-10-04 18:24:59 +00:00
Antoine Beaupré 09ff68f010 make a alternc-slave-specific postinst that doesn't touch /var/alternc 2008-10-04 16:52:02 +00:00