aboutsummaryrefslogtreecommitdiff
path: root/templates/puppet/server.pp.erb
blob: fcd21e0649ea39fa66e294775a256003805308a9 (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
30
31
32
33
34
35
36
37
38
39
40
41
node '<%= hostname %>.<%= domain %>' {
  #$mail_delivery          = 'tunnel'
  #$mail_hostname          = 'mail'
  #$mail_ssh_port          = '2202'
  $shorewall_dmz          = true
  $resolvconf_nameservers = $opendns_nameservers
  $has_ups                = false
  include nodo::server

  #
  # Linux-VServers
  #
  #nodo::vserver::instance { "<%= hostname %>-master":
  #  context      => '2',
  #  puppetmaster => true,
  #}

  #nodo::vserver::instance { "<%= hostname %>-proxy":
  #  context => '3',
  #  proxy   => true,
  #}

  #nodo::vserver::instance { "<%= hostname %>-web":
  #  context => '4',
  #  gitd    => true,
  #}

  #nodo::vserver::instance { "<%= hostname %>-storage":
  #  context      => '5',
  #}

  #nodo::vserver::instance { "<%= hostname %>-test":
  #  context => '6',
  #  memory_limit => 500,
  #}

  # encrypted data remote backup
  #backup::rdiff { "other-host":
  #  port   => "10105",
  #}
}