X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fnew-machine.creole;h=ec3c8a2b1a34cb4006650a269e147a62499321bf;hb=5eaef104528f579b6d00c5d4f0b772c0ad3faf74;hp=e72648d222a227905fe0099def4282f7fb99d2f6;hpb=f5891520e5ad425db5d880774168f6671e5e4266;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/new-machine.creole b/input/howto/new-machine.creole index e72648d..ec3c8a2 100644 --- a/input/howto/new-machine.creole +++ b/input/howto/new-machine.creole @@ -3,25 +3,12 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup]]. If stuff breaks fix it. -* install ssh if it isn't there already +* some initial stuff: {{{ - apt-get install --no-install-recommends ssh -}}} - -* sane editor -{{{ - apt-get install --no-install-recommends vim -}}} - -* sane locales: (make sure there is _no_ locale defined in /etc/environment and /etc/default/locale) -{{{ - echo -n > /etc/environment - echo -n > /etc/default/locale -}}} - -* make debconf the same on every host: - dialog, - high -{{{ - apt-get install --no-install-recommends dialog && + apt-get install --no-install-recommends ssh vim && + echo -n > /etc/environment && + echo -n > /etc/default/locale && + apt-get install --no-install-recommends dialog && && echo "debconf debconf/priority select high" | debconf-set-selections && echo "debconf debconf/frontend select Dialog" | debconf-set-selections }}} @@ -36,7 +23,7 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup * run generate, or wait until cron runs it for you. Update DNS. {{{ : :: draghi :: && sudo -u sshdist ud-generate && sudo -H ud-replicate && sudo -H puppetd -t - : :: orff :: && sudo -H ud-replicate + : :: denis :: && sudo -H ud-replicate }}} * setup [[puppet|howto/puppet-setup]] (run the puppet client two or three times until things converge.) @@ -97,8 +84,6 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup * edit dedication into in $DSA-PUPPET/modules/debian-org/misc/local.yaml -* Add host to smarthost machines in $DSA-PUPPET/modules/debian-org/misc/local.yaml (if so desired). Set MX in ud-ldap. - * add to nagios -- weasel, Wed, 04 Jun 2008 20:52:56 +0200