Proyecto

General

Perfil

« Anterior | Siguiente » 

Revisión 286

Revisada tarea apagado-terminales para que funcione con el nuevo servidor puppet

Ver diferencias:

tareas_puppet/servidores_aula/apagado-terminales/manifests/init.pp
}
exec { "copy-publickey":
command => "/bin/cat /root/.ssh/id_rsa.pub >> /opt/ltsp/i386/root/.ssh/$
require => [File["/root/.ssh/id_rsa.pub"], File["/opt/ltsp/i386/root/.s$
unless => '/bin/grep "$fqdn" /opt/ltsp/i386/root/.ssh/authorized_keys 2$
command => "/bin/cat /root/.ssh/id_rsa.pub >> /opt/ltsp/i386/root/.ssh/authorized_keys",
require => [File["/root/.ssh/id_rsa.pub"], File["/opt/ltsp/i386/root/.ssh"]],
unless => '/bin/grep "$fqdn" /opt/ltsp/i386/root/.ssh/authorized_keys 2>/dev/null',
notify => Exec["update-image"]
}

Exportar a: Unified diff