summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/init.pp
blob: f0ce98562c3ad15018c8f8ad938fc907ec03c4b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class site_config {
  $domain_hash = hiera('domain')

  # default class, used by all hosts

  include lsb, git

  # configure apt
  include site_apt


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

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

  # configure caching, local resolver
  include site_config::caching_resolver

  # configure /etc/hosts
  class { 'site_config::hosts':
    stage => initial,
  }

  class { 'site_apt::dist_upgrade':
    stage => initial,
  }
}