summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/init.pp
blob: bab186d0090f5f86e44cd5b8f7b78e8182d1a8fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class site_config {
  # default class, used by all hosts

  include lsb, git

  # configure apt
  include site_config::apt

  # configure ssh and include ssh-keys
  include site_config::sshd

  # configure /etc/resolv.conf
  include site_config::resolvconf

  # configure /etc/hosts
  stage { 'initial':
    before => Stage['main'],
  }

  class { 'site_config::hosts':
    stage => initial,
  }
}