diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-23 10:59:53 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-23 10:59:53 -0200 |
commit | cc7f7b3e6aaa533ffa965523d680adf32db001a1 (patch) | |
tree | c463b7580c45fc2e5bd69778f205b57f9238a452 /manifests/init.pp | |
parent | dc894e3b94be5697c33c0ef1db168517a44a109e (diff) | |
download | puppet-nodo-cc7f7b3e6aaa533ffa965523d680adf32db001a1.tar.gz puppet-nodo-cc7f7b3e6aaa533ffa965523d680adf32db001a1.tar.bz2 |
Adding nodo::master
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 26 |
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, + } +} |