From cc7f7b3e6aaa533ffa965523d680adf32db001a1 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 23 Jan 2010 10:59:53 -0200 Subject: Adding nodo::master --- manifests/init.pp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'manifests/init.pp') 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, + } +} -- cgit v1.2.3