Skip to content
Snippets Groups Projects
Commit 87db792d authored by Alessandro Costantini's avatar Alessandro Costantini
Browse files

Update base.pp - cron pkg-autoremove added

parent 657de929
No related tags found
No related merge requests found
......@@ -22,6 +22,15 @@ class iaas::profile::base (
Exec['apt_update'] -> Package<||>
### Montly autoremove
cron { 'autoremove':
command => '/usr/bin/apt-get autoremove -y',
user => 'root',
hour => 2,
minute => 0,
monthday => 1,
}
} else {
fail("\'$::operatingsystem\' not supported")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment