Revisión 8
Añadido por Antonio J. Abasolo Sierra hace casi 15 años
limitar_https.class | ||
---|---|---|
file { "/etc/network/iptables":
|
||
owner=>root, group=>root, mode=>644,
|
||
source=>"puppet:///puppet.educarex.es/files/iptables",
|
||
notify => Exec["denegar-https"]
|
||
notify => Exec["configurar-https"]
|
||
}
|
||
|
||
file { "/etc/init.d/deny_https":
|
||
... | ... | |
refreshonly => true,
|
||
}
|
||
|
||
cron {
|
||
"Descarga-Diaria-https.all":
|
||
command => "/usr/sbin/sarg-reports today",
|
||
user => root,
|
||
hour => '08',
|
||
minute => '15';
|
||
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
actualización