aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-23 10:59:53 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-23 10:59:53 -0200
commitcc7f7b3e6aaa533ffa965523d680adf32db001a1 (patch)
treec463b7580c45fc2e5bd69778f205b57f9238a452 /manifests
parentdc894e3b94be5697c33c0ef1db168517a44a109e (diff)
downloadpuppet-nodo-cc7f7b3e6aaa533ffa965523d680adf32db001a1.tar.gz
puppet-nodo-cc7f7b3e6aaa533ffa965523d680adf32db001a1.tar.bz2
Adding nodo::master
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp26
1 files changed, 26 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c2487a1..d6d4d33 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -195,6 +195,10 @@ class nodo::vserver inherits nodo {
# tag => $name,
#}
+ # TODO: sound support
+ # http://wiki.debian.org/LinuxVserver
+ # http://seehuhn.de/pages/vserver
+
# Apply firewall rules just for running vservers
case $ensure {
'running': {
@@ -319,3 +323,25 @@ class nodo::web inherits nodo::vserver {
class nodo::proxy inherits nodo::vserver {
include nginx
}
+
+class nodo::master inherits nodo::vserver {
+ include puppetmasterd
+ include gitosis
+ include trac
+ # TODO:
+ #include munin::host
+
+ # rede
+ host { "puppet":
+ ensure => present,
+ ip => "127.0.0.1",
+ alias => ["puppet.$domain"],
+ }
+
+ # backup local do banco de dados
+ backupninja::mysql { "all_databases":
+ backupdir => '/var/backups/mysql',
+ compress => true,
+ sqldump => true,
+ }
+}