source: trunk/puppet/manifests/classes/ltsp.pp @ 162

Last change on this file since 162 was 161, checked in by sebas, 16 years ago

una configuracion basica que casi anda bien

File size: 476 bytes
Line 
1#
2# Example usage:
3# ltsp::buildclient { dist:
4#       mirror => "test",
5#       securitymirror => "test"
6# }
7
8class ltsp::common {
9  package { "ltsp-server": ensure => installed }
10}
11
12define ltsp::buildclient ( $mirror, $securitymirror  ) {
13    include ltsp::common
14    exec { "ltsp-build-client":
15        command => "ltsp-build-client --mirror=$mirror --security-mirror=$securitymirror &>/dev/null",
16        path => "/bin:/usr/sbin:/usr/bin",
17        creates => "/opt/ltsp/i386",
18    }
19}
Note: See TracBrowser for help on using the repository browser.