aboutsummaryrefslogtreecommitdiff
path: root/puppet/templates/puppet/server.pp.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-18 12:47:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-09-18 12:47:46 -0300
commit84baf3dfea376e4b35156acc682f93bfae7e23eb (patch)
tree570011bbabc460651c61640a9ecb07b2b83b21cf /puppet/templates/puppet/server.pp.erb
parent12bedcb9dc59316fcbb38bf1592ef73dace30d15 (diff)
parent529cd5077e3d76c1d5b612bc146ab174d7143c30 (diff)
downloaddebian-84baf3dfea376e4b35156acc682f93bfae7e23eb.tar.gz
debian-84baf3dfea376e4b35156acc682f93bfae7e23eb.tar.bz2
Merge commit '529cd5077e3d76c1d5b612bc146ab174d7143c30' as 'puppet'
Diffstat (limited to 'puppet/templates/puppet/server.pp.erb')
-rw-r--r--puppet/templates/puppet/server.pp.erb41
1 files changed, 41 insertions, 0 deletions
diff --git a/puppet/templates/puppet/server.pp.erb b/puppet/templates/puppet/server.pp.erb
new file mode 100644
index 0000000..fcd21e0
--- /dev/null
+++ b/puppet/templates/puppet/server.pp.erb
@@ -0,0 +1,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",
+ #}
+}