Revisión 459
Añadido por Francisco Rodrigo hace más de 12 años
tareas_puppet/servidores_aula/squeeze/ltsp_ramzswap/manifests/init.pp | ||
---|---|---|
path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||
command => "chroot /opt/ltsp/i386 update-rc.d ramzswap.sh defaults",
|
||
require => File ["/opt/ltsp/i386/etc/init.d/ramzswap.sh"],
|
||
unless => "ls /opt/ltsp/i386/etc/rc2.d/S05ramzswap.sh",
|
||
unless => "ls /opt/ltsp/i386/etc/rc2.d/S??ramzswap.sh",
|
||
}
|
||
|
||
exec { "regenera-imagen-ramzswap" :
|
tareas_puppet/workstations/ramzswap/manifests/init.pp | ||
---|---|---|
path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||
command => "update-rc.d ramzswap.sh defaults",
|
||
require => File ["/etc/init.d/ramzswap.sh"],
|
||
unless => "ls /etc/rc2.d/S26ramzswap.sh",
|
||
unless => "ls /etc/rc2.d/S??ramzswap.sh",
|
||
}
|
||
|
||
}
|
tareas_puppet/portatiles/comunes/port_ramzswap/manifests/init.pp | ||
---|---|---|
path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||
command => "update-rc.d ramzswap.sh defaults",
|
||
require => File ["/etc/init.d/ramzswap.sh"],
|
||
unless => "ls /etc/rc2.d/S24ramzswap.sh",
|
||
unless => "ls /etc/rc2.d/S??ramzswap.sh",
|
||
}
|
||
|
||
}
|
Exportar a: Unified diff
Actualizadas las 3 tareas puppet de la ramzswap para que la condicion de que exista en el arranque sea estandar para todos los ies