Changeset 705


Ignore:
Timestamp:
May 9, 2010, 12:58:25 AM (11 years ago)
Author:
sebas@…
Message:

agrego la generacion de las locales en es_AR + nuevos paquetes en el cliente

File:
1 edited

Legend:

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

    r701 r705  
    2020}
    2121
     22class ltsp::client::localgen::es_AR {
     23   exec { "localgen_es_AR":
     24       command => "chroot /opt/ltsp/i386/ locale-gen es_AR.UTF-8",
     25       path    => "/bin:/sbin:/usr/sbin:/usr/bin",
     26       unless  => "chroot /opt/ltsp/i386/ grep es_AR.UTF-8 /var/lib/locales/supported.d/local",
     27       notify  => Exec["ltsp-update-image"],
     28       before  => [ Exec["ltsp-update-image"] ],
     29   }
     30}
     31
     32
    2233class ltsp::client::installpackages {
    2334
     
    3041            command => "chroot ${package} apt-get -y install $name",
    3142            path    => "/bin:/sbin:/usr/sbin:/usr/bin",
    32             unless  => "chroot ${package} dpkg -l $name",
     43            unless  => "chroot ${package} dpkg --get-selections $name | grep install",
    3344            notify  => Exec["ltsp-update-image"],
    3445            before  => [ Exec["ltsp-update-image"] ],
     
    3748
    3849    ltsp_client_installpackages {
    39         "/opt/ltsp/i386/": packages => [ "ssh", "iftop", "iotop" ],
     50        "/opt/ltsp/i386/": packages => [ "openssh-server", "iftop", "iotop", "screen" ],
    4051    }
    4152
Note: See TracChangeset for help on using the changeset viewer.