Jump to content

Toolserver:Debian/Installation

From mediawiki.org

This page was moved from the Toolserver wiki.
Toolserver has been replaced by Toolforge. As such, the instructions here may no longer work, but may still be of historical interest.
Please help by updating examples, links, template links, etc. If a page is still relevant, move it to a normal title and leave a redirect.

Pre

[edit]
  • Enable the "network/dhcp-server"-service on hemlock (make sure to disable it again at the end!).

OS-Installation

[edit]
  • Partition the disc in the following way:
    • 500MB ext3-partition (for /boot)
    • LVM-partition for the rest of the disc:
      • root: 2GB
      • usr: 7GB
      • var: 15GB
      • tmp: 5GB
      • swap: 5GB
      • vartmp: 1GB (mounted on /var/tmp).

Pre-puppet

[edit]
  • Check that everything from above is mounted correctly.
  • Check that the network is working (if not, maybe "network/dhcp-server" was stopped too early?)
  • Run apt-get update.
  • Run apt-get install puppet.
  • Run puppet cert -c hostname on hemlock (FQDN is required). This step is only needed if there was a server with this name ever before.
  • Run puppetd agent --server puppet.toolserver.org --test on the client.
  • Run puppet cert -s hostname on hemlock (FQDN is required).
  • Run puppetd agent --server puppet.toolserver.org --test on the client (this will start the installation of everything, get a cafe).

Post

[edit]
  • Disable the "network/dhcp-server"-service on hemlock.
  • Reboot (just to be sure).
  • Edit /etc/hosts and make sure that the hostname is resolved to its real IP, not 127.0.1.1.