source: trunk/puppet/modules/puppet-ltsp/manifests/classes/server.pp @ 719

Last change on this file since 719 was 713, checked in by sebas@…, 15 years ago

formateo

File size: 773 bytes
Line 
1class ltsp::common {
2    package { [
3        "ltsp-server",
4        "ltspfs"
5        ]: ensure => installed }
6}
7
8class ltsp::buildclient {
9    include ltsp::common
10
11    exec { "ltsp-build-client":
12        command => "ltsp-build-client",
13        path    => "/bin:/sbin:/usr/sbin:/usr/bin",
14        timeout => "-1",
15        creates => "/opt/ltsp/i386",
16        before  => [ Exec["ltsp-update-image"] ]
17    }
18
19    exec { "ltsp-update-kernels":
20        command     => "ltsp-update-kernels",
21        path        => "/bin:/sbin:/usr/sbin:/usr/bin",
22        refreshonly => true
23    }
24
25    exec { "ltsp-update-image":
26        command     => "chroot /opt/ltsp/i386/ apt-get clean && ltsp-update-image",
27        path        => "/bin:/sbin:/usr/sbin:/usr/bin",
28        refreshonly => true
29    }
30}
Note: See TracBrowser for help on using the repository browser.