source: trunk/puppet/modules/puppet-ltsp/manifests/classes/client.pp @ 458

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

mas notas sobre el tema hostname

File size: 1.1 KB
Line 
1class ltsp::client::resolvsh {
2
3   # bug en ltsp de ubuntu 9.04
4   # https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/347957
5   file {
6     "/opt/ltsp/i386/etc/init.d/chmod-resolv.sh":
7      owner => root,
8      group => root,
9      mode => 755,
10      source => "puppet:///ltsp/etc/chmod-resolv.sh";
11   }
12}
13
14class ltsp::client::ocsinventory_agent {
15
16   file {
17    "/opt/ltsp/i386/etc/ocsinventory":
18       ensure => directory,
19       owner => "root", group => "root", mode => "755";
20     "/opt/ltsp/i386/etc/ocsinventory/ocsinventory-agent.cfg":
21      owner => root,
22      group => root,
23      mode => 600,
24      source => "puppet:///ltsp/etc/ocsinventory/ocsinventory-agent.cfg";
25   }
26}
27
28# cambia el formato de como se nombran las terminales
29# en el chroot, update-initramfs -u
30# actulizar el kernel a fuera del chroot, ltsp-update-kernels
31# agregar en el /var/lib/tftpboot/lts.conf
32# HOSTNAME_BASE = CTA-
33# HOSTNAME_EXTRA = mac
34
35class ltsp::client::hostname::cta {
36
37   file {
38     "/opt/ltsp/i386/usr/share/initramfs-tools/scripts/nfs-bottom/ltsp":
39      owner => root,
40      group => root,
41      mode => 755,
42      source => "puppet:///ltsp/ltsp-cta";
43   }
44}
45
46
Note: See TracBrowser for help on using the repository browser.