source: trunk/puppet/manifests/node-prod-servidores.pp @ 396

Last change on this file since 396 was 396, checked in by sebas, 14 years ago

primera clase para el manejo de qemu y dosbox

File size: 4.7 KB
Line 
1node jujuy {
2
3    include di_netboot_assistant
4
5    debproxy::activateclient { dist:
6       debproxyhost => "debproxy-ubuntu",
7    }
8
9    include debproxy::server
10
11    package {
12        [ "puppetmaster"]: ensure => installed;
13    }
14
15    svn::checkout { chavez-preseed:
16       repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/preseed",
17       local_path => "/var/www",
18       local_name => "preseed",
19    }
20
21    ltsp::buildclient { dist:
22        mirror => "http://debproxy-ubuntu:3142/ar.archive.ubuntu.com/ubuntu",
23        securitymirror => "http://debproxy-ubuntu:3142/security.ubuntu.com"
24    }
25
26    include ltsp::tftpdhpa::activate
27
28    include ubuntu_sources_list
29
30    include test_class
31    include utile-cli
32
33    include estacion-de-trabajo
34
35    ubuntufirefox::startuppage { dist:
36       startuppage => "http://www.cta.org.ar",
37    }
38
39    include ltsp::updateclient::piloto
40
41}
42
43node octubre {
44
45#    include di_netboot_assistant
46#    include debproxy::server
47
48    include backup_rsnapshot
49    file { "/etc/rsnapshot-che.conf":
50        owner => root,
51        group => root,
52        mode => 644,
53        source => "puppet:///files/guevara/rsnapshot-che.conf"
54    }
55
56    include utile-cli
57
58    include ubuntu_sources_list
59
60    debproxy::activateclient { dist:
61       debproxyhost => "debproxy-ubuntu",
62    }
63
64    file { ["/backup"]:
65      ensure => directory,
66      owner => "root", group => "root", mode => "770"
67    }
68
69#    svn::checkout { chavez-preseed:
70#       repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/preseed",
71#       local_path => "/var/www",
72#       local_name => "preseed",
73#    }
74
75#    include webapps-php
76
77#    package {
78#        [ "cups"]: ensure => installed;
79#    }
80#    package {
81#        [ "sudo"]: ensure => installed;
82#    }
83
84}
85
86node bolivar {
87
88   include oo3_default_fileformat
89
90   include di_netboot_assistant
91
92    ltsp::buildclient { dist:
93        mirror => "http://debproxy-ubuntu:3142/ar.archive.ubuntu.com/ubuntu",
94        securitymirror => "http://debproxy-ubuntu:3142/security.ubuntu.com"
95    }
96
97    include ltsp::tftpdhpa::activate
98
99    include ubuntu_sources_list
100
101    include test_class
102    include utile-cli
103
104    include estacion-de-trabajo
105
106    cronapt::mailon-mailto { dist:
107       mailon => "upgrade",
108       mailto => "security@localhost"
109    }
110
111    debproxy::activateclient { dist:
112       debproxyhost => "debproxy-ubuntu",
113    }
114
115}
116
117node chavez {
118    include test_class
119
120    include svn
121
122    svn::checkout { chavez-preseed:
123       repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/preseed",
124       local_path => "/var/www",
125       local_name => "preseed",
126    }
127
128    cronapt::mailon-mailto { dist:
129       mailon => "upgrade",
130       mailto => "security@localhost"
131    }
132
133    include debproxy::server
134
135    include webapps-php
136
137    include utile-cli
138
139}
140
141node guevara {
142    include test_class
143    include utile-cli
144
145    include backup_rsnapshot
146    file { "/etc/rsnapshot-che.conf":
147        owner => root,
148        group => root,
149        mode => 644,
150        source => "puppet:///files/guevara/rsnapshot-che.conf"
151    }
152    file { "/etc/rsnapshot-sedenacional.conf":
153        owner => root,
154        group => root,
155        mode => 644,
156        source => "puppet:///files/guevara/rsnapshot-sedenacional.conf"
157    }
158
159    debproxy::activateclient { dist:
160       debproxyhost => "debproxy",
161    }
162
163    package {
164         [ "util-vserver" ]: ensure => installed;
165     }
166
167    package {
168        [ "cryptsetup"]: ensure => installed;
169    }
170
171    file { "/etc/crypttab":
172        owner => root,
173        group => root,
174        mode => 644,
175        source => "puppet:///files/guevara/crypttab"
176    }
177
178    file { ["/backup"]:
179      ensure => directory,
180      owner => "root", group => "root", mode => "770"
181    }
182
183    file { ["/backup/rsnapshot-che"]:
184      ensure => directory,
185      owner => "root", group => "root", mode => "755"
186    }
187
188    file { ["/backup/rsnapshot-sedenacional"]:
189      ensure => directory,
190      owner => "root", group => "root", mode => "755"
191    }
192
193     mount { "/backup":
194         atboot   => false,
195         device   => "/dev/mapper/backup-crypto",
196         ensure   => mounted,
197         fstype   => "ext3",
198         remounts => false,
199         options  => "rw,suid,dev,exec,noauto,nouser,async",
200        require => file["/backup"],
201     }
202
203}
204
205node evo {
206    include test_class
207    include utile-cli
208
209    debproxy::activateclient { dist:
210       debproxyhost => "debproxy",
211    }
212
213    include debproxy::server
214}
215
216node impreso {
217
218    include test_class
219    include utile-cli
220
221    debproxy::activateclient { dist:
222       debproxyhost => "debproxy-ubuntu",
223    }
224}
225
226node impresion-bog {
227
228    include test_class
229    include utile-cli
230
231    debproxy::activateclient { dist:
232       debproxyhost => "debproxy-ubuntu",
233    }
234}
235
Note: See TracBrowser for help on using the repository browser.