aboutsummaryrefslogtreecommitdiff
path: root/templates/puppet/server.pp.erb
blob: ca0ab50d082ef6ca5bfc53f5a06d8caad2f80ef7 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
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

  host { "puppet":
    ensure        => present,
    ip            => "127.0.0.1",
    host_aliases  => [ "puppet.<%= domain %>" ],
  }

  #
  # 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 local backups
  #backup::duplicity { "localhost":
  #  encryptkey => "ABCDEF12",
  #  password   => 'xxxyyy',
  #}
  
  # encrypted data remote backup
  #backup::rdiff { "other-host":
  #  port   => "10105",
  #}

}