Changeset 700 for trunk/puppet


Ignore:
Timestamp:
May 8, 2010, 10:09:14 PM (14 years ago)
Author:
sebas@…
Message:

agrego el comando ltsp-update-image con una limpiza del cache antes del ltsp-update-image

File:
1 edited

Legend:

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

    r687 r700  
    1212        command => "ltsp-build-client",
    1313        path    => "/bin:/sbin:/usr/sbin:/usr/bin",
     14        timeout => "-1",
    1415        creates => "/opt/ltsp/i386",
     16        before  => [ Exec["ltsp-update-image"] ]
     17    }
     18
     19    exec { "ltsp-update-image":
     20        command => "chroot /opt/ltsp/i386/ apt-get clean && ltsp-update-image",
     21        path    => "/bin:/sbin:/usr/sbin:/usr/bin",
     22        refreshonly => true
    1523    }
    1624}
Note: See TracChangeset for help on using the changeset viewer.