Proyecto

General

Perfil

« Anterior | Siguiente » 

Revisión 12

actualización

Ver diferencias:

limitar_https.class
exec { "configurar-https":
command => "/usr/sbin/update-rc.d deny_https start 31 2 3 4 5 . stop 01 0 1 6 . ; /etc/init.d/deny_https start",
require => File["/etc/init.d/deny_https"],
unless => "/bin/ls /etc/rc2.d/S99deny_https",
unless => "/bin/ls /etc/rc2.d/S31deny_https",
refreshonly => true,
}
file { "/usr/sbin/deny_https_update":
owner=>root, group=>root, mode=>755,
source=>"puppet:///puppet.educarex.es/files/deny_https_update",
}
cron { "Actualizar-deny_https.all":
command => "/usr/sbin/deny_https_update",
user => root,
hour => '08',
minute => '15';
}
}

Exportar a: Unified diff