Changeset 595


Ignore:
Timestamp:
Mar 14, 2010, 4:22:38 PM (12 years ago)
Author:
sebas@…
Message:

agrego el installer para debian lenny ppc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/di_netboot_assistant/manifests/init.pp

    r543 r595  
    122122class di_netboot_assistant::debian::powerpc::squeeze {
    123123
    124     file { ["/var/lib/tftpboot/debian-installer/squeeze", "/var/lib/tftpboot/debian-installer/squeeze/powerpc/"]:
     124    file { ["/var/lib/tftpboot/debian-installer/squeeze", "/var/lib/tftpboot/debian-installer/squeeze/powerpc"]:
    125125      ensure => directory,
    126126      owner => root,
     
    138138     creates => "/var/lib/tftpboot/debian-installer/$release/powerpc/$name",
    139139     path => "/usr/bin",
    140      require => [Package["tftpd-hpa"], File["/var/lib/tftpboot/debian-installer/$release/powerpc/"]]
     140     require => [Package["tftpd-hpa"], File["/var/lib/tftpboot/debian-installer/$release/powerpc"]]
    141141   }
    142142  }
    143143}
     144
     145class di_netboot_assistant::debian::powerpc::lenny {
     146
     147    file { ["/var/lib/tftpboot/debian-installer/lenny", "/var/lib/tftpboot/debian-installer/lenny/powerpc"]:
     148      ensure => directory,
     149      owner => root,
     150      group => root,
     151      require => Package["tftpd-hpa"];
     152    }
     153
     154   fetch_netboot_powerpc_lenny { [ "boot.msg", "initrd.gz", "vmlinux", "yaboot", "yaboot.conf" ]: release => "lenny";  }
     155
     156   define fetch_netboot_powerpc_lenny($release,$mirror="http://debian.torredehanoi.org/debian/dists") {
     157
     158   exec { "wget -O /var/lib/tftpboot/debian-installer/$release/powerpc/$name -q $mirror/$release/main/installer-powerpc/current/images/powerpc/netboot/$name":
     159     creates => "/var/lib/tftpboot/debian-installer/$release/powerpc/$name",
     160     path => "/usr/bin",
     161     require => [Package["tftpd-hpa"], File["/var/lib/tftpboot/debian-installer/lenny/powerpc"]]
     162   }
     163  }
     164}
     165
    144166
    145167class di_netboot_assistant::rpld {
Note: See TracChangeset for help on using the changeset viewer.