Last change
on this file since 766 was
720,
checked in by sebas@…, 14 years ago
|
agregos la dependencia a paquete ltsp-server para los comandos
|
File size:
910 bytes
|
Rev | Line | |
---|
[161] | 1 | class ltsp::common { |
---|
[683] | 2 | package { [ |
---|
| 3 | "ltsp-server", |
---|
[687] | 4 | "ltspfs" |
---|
[683] | 5 | ]: ensure => installed } |
---|
[159] | 6 | } |
---|
| 7 | |
---|
[686] | 8 | class ltsp::buildclient { |
---|
[161] | 9 | include ltsp::common |
---|
[232] | 10 | |
---|
[161] | 11 | exec { "ltsp-build-client": |
---|
[683] | 12 | command => "ltsp-build-client", |
---|
| 13 | path => "/bin:/sbin:/usr/sbin:/usr/bin", |
---|
[700] | 14 | timeout => "-1", |
---|
[161] | 15 | creates => "/opt/ltsp/i386", |
---|
[720] | 16 | before => [ Exec["ltsp-update-image"] ], |
---|
| 17 | require => Package["ltsp-server"] |
---|
[161] | 18 | } |
---|
[700] | 19 | |
---|
[712] | 20 | exec { "ltsp-update-kernels": |
---|
[713] | 21 | command => "ltsp-update-kernels", |
---|
| 22 | path => "/bin:/sbin:/usr/sbin:/usr/bin", |
---|
[720] | 23 | refreshonly => true, |
---|
| 24 | require => Package["ltsp-server"] |
---|
[712] | 25 | } |
---|
| 26 | |
---|
[700] | 27 | exec { "ltsp-update-image": |
---|
[713] | 28 | command => "chroot /opt/ltsp/i386/ apt-get clean && ltsp-update-image", |
---|
| 29 | path => "/bin:/sbin:/usr/sbin:/usr/bin", |
---|
[720] | 30 | refreshonly => true, |
---|
| 31 | require => Package["ltsp-server"] |
---|
[700] | 32 | } |
---|
[161] | 33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.