Ignore:
Timestamp:
May 3, 2010, 8:01:36 PM (14 years ago)
Author:
josx@…
Message:

Agregando la actualizacion del menu de netboot

File:
1 edited

Legend:

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

    r595 r672  
    11# copyright <sebas @ koumbit.org>
     2# < josx @ interorganic.com.ar >
    23# Licence: GPL
    34#
    4 # TODO: updatemenu missing...
    55
    66class di_netboot_assistant {
     
    2323      group => root,
    2424      mode => 644,
    25       source => "puppet:///di_netboot_assistant/pxelinux.HEAD"
    26    }
     25      source => "puppet:///di_netboot_assistant/pxelinux.HEAD",
     26      before => Exec["updatemenu"]
     27   }
     28   
     29   exec { "updatemenu":
     30       command => "di-netboot-assistant rebuild-menu",
     31       path => "/bin:/sbin:/usr/sbin:/usr/bin",
     32    }
    2733
    2834   # symbolic link to generated menu
Note: See TracChangeset for help on using the changeset viewer.