Changeset 715


Ignore:
Timestamp:
May 9, 2010, 3:11:43 AM (11 years ago)
Author:
sebas@…
Message:

formateo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/puppet-ltsp/manifests/classes/client.pp

    r714 r715  
    1717
    1818    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"] ],
    2424    }
    25 
    2625}
    2726
     
    4746       before  => [ Exec["ltsp-update-image"] ],
    4847   }
    49 
    5048}
    5149
     
    6260
    6361define 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    }
    7170}
    7271
    7372class 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    }
    8181}
    8282
Note: See TracChangeset for help on using the changeset viewer.