Last change
on this file since 648 was
580,
checked in by sebas@…, 15 years ago
|
reorganisacion del modulo puppet-ltsp
|
File size:
1.4 KB
|
Line | |
---|
1 | class ltsp::updateclient::piloto { |
---|
2 | |
---|
3 | svn::checkout { ltsp-cliente: |
---|
4 | repository => "https://svn.redcta.org.ar/proyectos/redcta/trunk/ltsp-cliente", |
---|
5 | local_path => "/opt/ltsp/i386", |
---|
6 | local_name => "root" |
---|
7 | } |
---|
8 | } |
---|
9 | |
---|
10 | class ltsp::client::resolvsh { |
---|
11 | |
---|
12 | # bug en ltsp de ubuntu 9.04 |
---|
13 | # https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/347957 |
---|
14 | file { |
---|
15 | "/opt/ltsp/i386/etc/init.d/chmod-resolv.sh": |
---|
16 | owner => root, |
---|
17 | group => root, |
---|
18 | mode => 755, |
---|
19 | source => "puppet:///ltsp/etc/chmod-resolv.sh"; |
---|
20 | } |
---|
21 | } |
---|
22 | |
---|
23 | class ltsp::client::ocsinventory_agent { |
---|
24 | |
---|
25 | file { |
---|
26 | "/opt/ltsp/i386/etc/ocsinventory": |
---|
27 | ensure => directory, |
---|
28 | owner => "root", group => "root", mode => "755"; |
---|
29 | "/opt/ltsp/i386/etc/ocsinventory/ocsinventory-agent.cfg": |
---|
30 | owner => root, |
---|
31 | group => root, |
---|
32 | mode => 600, |
---|
33 | source => "puppet:///ltsp/etc/ocsinventory/ocsinventory-agent.cfg"; |
---|
34 | } |
---|
35 | } |
---|
36 | |
---|
37 | # cambia el formato de como se nombran las terminales |
---|
38 | # en el chroot, update-initramfs -u |
---|
39 | # actulizar el kernel a fuera del chroot, ltsp-update-kernels |
---|
40 | # agregar en el /var/lib/tftpboot/lts.conf |
---|
41 | # HOSTNAME_BASE = CTA- |
---|
42 | # HOSTNAME_EXTRA = mac |
---|
43 | |
---|
44 | class ltsp::client::hostname::cta { |
---|
45 | |
---|
46 | file { |
---|
47 | "/opt/ltsp/i386/usr/share/initramfs-tools/scripts/nfs-bottom/ltsp": |
---|
48 | owner => root, |
---|
49 | group => root, |
---|
50 | mode => 755, |
---|
51 | source => "puppet:///ltsp/ltsp"; |
---|
52 | } |
---|
53 | } |
---|
54 | |
---|
55 | |
---|
Note: See
TracBrowser
for help on using the repository browser.