diff options
author | drebs <drebs@riseup.net> | 2011-03-11 14:53:39 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2011-03-11 14:53:39 -0300 |
commit | 01b2048dbf02ac726dabde5e846b9d6ac9aff0e6 (patch) | |
tree | 28f13f07a483a73ffcbfb25e4aba0c40f3d656bb /templates/puppet/server.pp.erb | |
download | puppet-bootstrap-01b2048dbf02ac726dabde5e846b9d6ac9aff0e6.tar.gz puppet-bootstrap-01b2048dbf02ac726dabde5e846b9d6ac9aff0e6.tar.bz2 |
initial recommit
Diffstat (limited to 'templates/puppet/server.pp.erb')
-rw-r--r-- | templates/puppet/server.pp.erb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/templates/puppet/server.pp.erb b/templates/puppet/server.pp.erb new file mode 100644 index 0000000..ca0ab50 --- /dev/null +++ b/templates/puppet/server.pp.erb @@ -0,0 +1,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", + #} + +} |