[377] | 1 | node bolivar { |
---|
| 2 | |
---|
| 3 | include installers |
---|
| 4 | |
---|
| 5 | ltsp::buildclient { dist: |
---|
| 6 | mirror => "http://debproxy-ubuntu:3142/ar.archive.ubuntu.com/ubuntu", |
---|
| 7 | securitymirror => "http://debproxy-ubuntu:3142/security.ubuntu.com" |
---|
| 8 | } |
---|
| 9 | |
---|
| 10 | include ltsp::tftpdhpa::activate |
---|
| 11 | |
---|
| 12 | include ubuntu::apt |
---|
| 13 | |
---|
| 14 | include test_class |
---|
| 15 | include utile-cli |
---|
| 16 | |
---|
| 17 | include estacion-de-trabajo |
---|
| 18 | |
---|
| 19 | cronapt::mailon-mailto { dist: |
---|
| 20 | mailon => "upgrade", |
---|
| 21 | mailto => "security@localhost" |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | debproxy::activateclient { dist: |
---|
| 25 | debproxyhost => "debproxy-ubuntu", |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | } |
---|
| 29 | |
---|
[369] | 30 | node chavez { |
---|
| 31 | include test_class |
---|
| 32 | |
---|
| 33 | include svn |
---|
| 34 | |
---|
| 35 | svn::checkout { chavez-preseed: |
---|
| 36 | repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/preseed", |
---|
| 37 | local_path => "/var/www", |
---|
| 38 | local_name => "preseed", |
---|
| 39 | } |
---|
| 40 | |
---|
| 41 | cronapt::mailon-mailto { dist: |
---|
| 42 | mailon => "upgrade", |
---|
| 43 | mailto => "security@localhost" |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | include debproxy::server |
---|
| 47 | |
---|
| 48 | include webapps-php |
---|
| 49 | |
---|
| 50 | include utile-cli |
---|
| 51 | |
---|
| 52 | } |
---|
| 53 | |
---|
| 54 | node guevara { |
---|
| 55 | include test_class |
---|
| 56 | include utile-cli |
---|
| 57 | |
---|
| 58 | debproxy::activateclient { dist: |
---|
| 59 | debproxyhost => "debproxy", |
---|
| 60 | } |
---|
| 61 | |
---|
| 62 | package { |
---|
| 63 | [ "util-vserver" ]: ensure => installed; |
---|
| 64 | } |
---|
| 65 | |
---|
| 66 | package { |
---|
| 67 | [ "cryptsetup"]: ensure => installed; |
---|
| 68 | } |
---|
| 69 | |
---|
| 70 | file { "/etc/crypttab": |
---|
| 71 | owner => root, |
---|
| 72 | group => root, |
---|
| 73 | mode => 644, |
---|
| 74 | source => "puppet:///files/guevara/crypttab" |
---|
| 75 | } |
---|
| 76 | |
---|
| 77 | file { ["/backup"]: |
---|
| 78 | ensure => directory, |
---|
| 79 | owner => "root", group => "root", mode => "770" |
---|
| 80 | } |
---|
| 81 | |
---|
| 82 | mount { "/backup": |
---|
| 83 | atboot => false, |
---|
| 84 | device => "/dev/mapper/backup-crypto", |
---|
| 85 | ensure => mounted, |
---|
| 86 | fstype => "ext3", |
---|
| 87 | remounts => false, |
---|
| 88 | options => "rw,suid,dev,exec,noauto,nouser,async", |
---|
| 89 | require => file["/backup"], |
---|
| 90 | } |
---|
| 91 | |
---|
| 92 | } |
---|
| 93 | |
---|
[224] | 94 | node evo { |
---|
| 95 | include test_class |
---|
| 96 | include utile-cli |
---|
| 97 | |
---|
| 98 | debproxy::activateclient { dist: |
---|
| 99 | debproxyhost => "debproxy", |
---|
| 100 | } |
---|
| 101 | |
---|
| 102 | include debproxy::server |
---|
| 103 | } |
---|
| 104 | |
---|
| 105 | node impreso { |
---|
| 106 | |
---|
| 107 | include test_class |
---|
| 108 | include utile-cli |
---|
| 109 | |
---|
| 110 | debproxy::activateclient { dist: |
---|
| 111 | debproxyhost => "debproxy-ubuntu", |
---|
| 112 | } |
---|
| 113 | } |
---|
| 114 | |
---|
| 115 | node impresion-bog { |
---|
| 116 | |
---|
| 117 | include test_class |
---|
| 118 | include utile-cli |
---|
| 119 | |
---|
| 120 | debproxy::activateclient { dist: |
---|
| 121 | debproxyhost => "debproxy-ubuntu", |
---|
| 122 | } |
---|
| 123 | } |
---|
| 124 | |
---|