Changeset 715 for trunk/puppet/modules/puppet-ltsp/manifests/classes
- Timestamp:
- May 9, 2010, 3:11:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/puppet/modules/puppet-ltsp/manifests/classes/client.pp
r714 r715 17 17 18 18 exec { "ltsp_client_set_logo_en_plymouth": 19 command=> "chroot /opt/ltsp/i386/ update-initramfs -u",20 path=> "/bin:/sbin:/usr/sbin:/usr/bin",21 refreshonly=> true,22 notify=> [ Exec["ltsp-update-image"], Exec["ltsp-update-kernels"] ],23 before=> [ Exec["ltsp-update-image"], Exec["ltsp-update-kernels"] ],19 command => "chroot /opt/ltsp/i386/ update-initramfs -u", 20 path => "/bin:/sbin:/usr/sbin:/usr/bin", 21 refreshonly => true, 22 notify => [ Exec["ltsp-update-image"], Exec["ltsp-update-kernels"] ], 23 before => [ Exec["ltsp-update-image"], Exec["ltsp-update-kernels"] ], 24 24 } 25 26 25 } 27 26 … … 47 46 before => [ Exec["ltsp-update-image"] ], 48 47 } 49 50 48 } 51 49 … … 62 60 63 61 define ltsp::client::debproxy::activateclient ( $debproxyhost ) { 64 file { 65 "/opt/ltsp/i386/etc/apt/apt.conf.d/01proxy": 66 ensure => "present", 67 content => "Acquire::http { Proxy \"http://$debproxyhost:3142\"; };\n", 68 before => [ Exec["ltsp-update-image"] ], 69 notify => Exec["ltsp-update-image"], 70 } 62 63 file { 64 "/opt/ltsp/i386/etc/apt/apt.conf.d/01proxy": 65 ensure => "present", 66 content => "Acquire::http { Proxy \"http://$debproxyhost:3142\"; };\n", 67 before => [ Exec["ltsp-update-image"] ], 68 notify => Exec["ltsp-update-image"], 69 } 71 70 } 72 71 73 72 class ltsp::client::localgen::es_AR { 74 exec { "localgen_es_AR": 75 command => "chroot /opt/ltsp/i386/ locale-gen es_AR.UTF-8", 76 path => "/bin:/sbin:/usr/sbin:/usr/bin", 77 unless => "chroot /opt/ltsp/i386/ grep es_AR.UTF-8 /var/lib/locales/supported.d/local", 78 notify => Exec["ltsp-update-image"], 79 before => [ Exec["ltsp-update-image"] ], 80 } 73 74 exec { "localgen_es_AR": 75 command => "chroot /opt/ltsp/i386/ locale-gen es_AR.UTF-8", 76 path => "/bin:/sbin:/usr/sbin:/usr/bin", 77 unless => "chroot /opt/ltsp/i386/ grep es_AR.UTF-8 /var/lib/locales/supported.d/local", 78 notify => Exec["ltsp-update-image"], 79 before => [ Exec["ltsp-update-image"] ], 80 } 81 81 } 82 82
Note: See TracChangeset
for help on using the changeset viewer.