Changeset 683


Ignore:
Timestamp:
May 6, 2010, 11:19:31 PM (11 years ago)
Author:
sebas@…
Message:

la config de tftpd-hpa no es mas necesaria, los parametros de ltsp-build-client cambiaron los por defecto son corectos

File:
1 edited

Legend:

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

    r580 r683  
    1 
    21class ltsp::common {
    3     package { "ltsp-server": ensure => installed }
    4     package { "ltspfs": ensure => installed }
     2    package { [
     3        "ltsp-server",
     4        "ltspfs",
     5        ]: ensure => installed }
    56}
    67
    7 define ltsp::buildclient ( $mirror, $securitymirror  ) {
     8define ltsp::buildclient {
    89    include ltsp::common
    910
    1011    exec { "ltsp-build-client":
    11         command => "ltsp-build-client --mirror=$mirror --security-mirror=$securitymirror --late-packages \"ssh munin-node\" &>/dev/null",
    12         path => "/bin:/sbin:/usr/sbin:/usr/bin",
     12        command => "ltsp-build-client",
     13        path    => "/bin:/sbin:/usr/sbin:/usr/bin",
    1314        creates => "/opt/ltsp/i386",
    1415    }
    1516}
    16 
    17 class ltsp::tftpdhpa::activate {
    18     package { "tftpd-hpa": ensure => installed }
    19 
    20     line { tftpdhpa_activate_off:
    21         file => "/etc/default/tftpd-hpa",
    22         line => 'RUN_DAEMON="no"',
    23         ensure => absent,
    24         require => Package["tftpd-hpa"]
    25     }
    26 
    27     line { tftpdhpa_activate_on:
    28         file => "/etc/default/tftpd-hpa",
    29         line => 'RUN_DAEMON="yes"',
    30         ensure => present,
    31         require => Package["tftpd-hpa"]
    32     }
    33 }
    34 
Note: See TracChangeset for help on using the changeset viewer.