aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-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,
+ }
+}