Changeset 707


Ignore:
Timestamp:
May 9, 2010, 2:05:52 AM (11 years ago)
Author:
sebas@…
Message:

agrego la clase para tener el thema ldm carpani-cta

File:
1 edited

Legend:

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

    r705 r707  
     1class ltsp::client::ldm::carpani_cta {
     2
     3    file {
     4        "/opt/ltsp/i386/usr/share/ldm/themes/ldm-carpani-cta":
     5         ensure  => directory,
     6         mode    => 644,
     7         owner   => root,
     8         group   => root,
     9         source  => "puppet:///ltsp/ldm-carpani-cta/",
     10         recurse => "true",
     11#         notify     => Exec["ltsp-update-image"],
     12         before     => [ Exec["set_ldm_theme_to_carpani_cta"]  ],
     13    }
     14
     15   exec { "set_ldm_theme_to_carpani_cta":
     16       command => "chroot /opt/ltsp/i386/ update-alternatives --install /usr/share/ldm/themes/default ldm-theme /usr/share/ldm/themes/ldm-carpani-cta 100",
     17       path    => "/bin:/sbin:/usr/sbin:/usr/bin",
     18       unless  => "chroot /opt/ltsp/i386/ update-alternatives --query ldm-theme | grep \"Value: /usr/share/ldm/themes/ldm-carpani-cta\"",
     19       notify  => Exec["ltsp-update-image"],
     20       before  => [ Exec["ltsp-update-image"] ],
     21   }
     22
     23}
     24
    125class ltsp::client::checkoutinroot {
    226
Note: See TracChangeset for help on using the changeset viewer.