Skip to content
Snippets Groups Projects
Commit ddd6e429 authored by drebs's avatar drebs
Browse files

Install needrestart and run every night

parent 1ed065b1
No related branches found
No related tags found
1 merge request!34Install needrestart and run it every night
Pipeline #148149 failed
......@@ -14,6 +14,7 @@ class profile::base::minimal (
include profile::apt
include profile::systemd
include profile::packages
include profile::needrestart
if $manage_firewall {
include profile::firewall
......
# Manage needrestart
class profile::needrestart {
ensure_packages([ 'needrestart' ])
cron { 'needrestart restart auto':
command => '/usr/sbin/needrestart -r a',
minute => 0,
hour => 3,
user => 'root',
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment