Changeset 163 for trunk/puppet/manifests/classes/ltsp.pp
- Timestamp:
- Apr 28, 2009, 7:45:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/puppet/manifests/classes/ltsp.pp
r161 r163 1 1 # 2 # Example usage :2 # Example usage with a proxy of packages: 3 3 # ltsp::buildclient { dist: 4 # mirror => " test",5 # securitymirror => " test"4 # mirror => "http://debproxy:3142/ar.archive.ubuntu.com/ubuntu", 5 # securitymirror => "http://debproxy:3142/security.ubuntu.com" 6 6 # } 7 7 8 8 class ltsp::common { 9 9 package { "ltsp-server": ensure => installed } 10 package { "ltspfs": ensure => installed } 10 11 } 11 12 … … 14 15 exec { "ltsp-build-client": 15 16 command => "ltsp-build-client --mirror=$mirror --security-mirror=$securitymirror &>/dev/null", 16 path => "/bin:/ usr/sbin:/usr/bin",17 path => "/bin:/sbin:/usr/sbin:/usr/bin", 17 18 creates => "/opt/ltsp/i386", 18 19 } 19 20 } 21 22 23 class ltsp::tftpdhpa::activate { 24 package { "tftpd-hpa": ensure => installed } 25 26 line { tftpdhpa_activate_off: 27 file => "/etc/default/tftpd-hpa", 28 line => 'RUN_DAEMON="no"', 29 ensure => absent, 30 require => Package["tftpd-hpa"] 31 } 32 33 line { tftpdhpa_activate_on: 34 file => "/etc/default/tftpd-hpa", 35 line => 'RUN_DAEMON="yes"', 36 ensure => present, 37 require => Package["tftpd-hpa"] 38 } 39 } 40
Note: See TracChangeset
for help on using the changeset viewer.