Changeset 369


Ignore:
Timestamp:
Aug 28, 2009, 5:31:41 PM (15 years ago)
Author:
sebas
Message:

nuevo codigo

Location:
trunk/puppet/manifests
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/manifests/classes/webapps.pp

    r367 r369  
    1111    package { [ "php5-mysql", "php5-gd", "php5-mcrypt", "php5-cli" ]: ensure => installed }
    1212
    13     include mysql-server
     13#    include mysql-server
    1414
    15     preseed_package { "phpmyadmin" : ensure => present }
     15#    preseed_package { "phpmyadmin" : ensure => present }
    1616
    1717}
  • trunk/puppet/manifests/node-prod-servidores.pp

    r310 r369  
     1node chavez {
     2    include test_class
     3
     4    include svn
     5
     6    svn::checkout { chavez-preseed:
     7       repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/preseed",
     8       local_path => "/var/www",
     9       local_name => "preseed",
     10    }
     11
     12    cronapt::mailon-mailto { dist:
     13       mailon => "upgrade",
     14       mailto => "security@localhost"
     15    }
     16
     17    include debproxy::server
     18
     19    include webapps-php
     20
     21    include utile-cli
     22
     23}
     24
     25node guevara {
     26    include test_class
     27    include utile-cli
     28
     29    debproxy::activateclient { dist:
     30       debproxyhost => "debproxy",
     31    }
     32
     33    package {
     34         [ "util-vserver" ]: ensure => installed;
     35     }
     36
     37    package {
     38        [ "cryptsetup"]: ensure => installed;
     39    }
     40
     41    file { "/etc/crypttab":
     42        owner => root,
     43        group => root,
     44        mode => 644,
     45        source => "puppet:///files/guevara/crypttab"
     46    }
     47
     48    file { ["/backup"]:
     49      ensure => directory,
     50      owner => "root", group => "root", mode => "770"
     51    }
     52
     53     mount { "/backup":
     54         atboot   => false,
     55         device   => "/dev/mapper/backup-crypto",
     56         ensure   => mounted,
     57         fstype   => "ext3",
     58         remounts => false,
     59         options  => "rw,suid,dev,exec,noauto,nouser,async",
     60        require => file["/backup"],
     61     }
     62
     63}
     64
    165node evo {
    266    include test_class
Note: See TracChangeset for help on using the changeset viewer.