Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit 11780d86 authored by Benedikt Wegmann's avatar Benedikt Wegmann
Browse files

unattended-upgrades: FIX Ruby boolleans

parent 78c64056
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ Unattended-Upgrade::Mail "root@localhost";
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
<% if @autoremove == "true" -%>
<% if @autoremove == true -%>
Unattended-Upgrade::Remove-Unused-Dependencies "true";
<% else -%>
//Unattended-Upgrade::Remove-Unused-Dependencies "false";
......@@ -57,7 +57,7 @@ Unattended-Upgrade::Remove-Unused-Dependencies "true";
// Automatically reboot *WITHOUT CONFIRMATION*
// if the file /var/run/reboot-required is found after the upgrade
<% if @automatic_reboot == "true" -%>
<% if @automatic_reboot == true -%>
Unattended-Upgrade::Automatic-Reboot "true";
<% else -%>
//Unattended-Upgrade::Automatic-Reboot "false";
......@@ -66,7 +66,7 @@ Unattended-Upgrade::Automatic-Reboot "true";
// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
// Default: "now"
<% if @automatic_reboot == "true" -%>
<% if @automatic_reboot == true -%>
Unattended-Upgrade::Automatic-Reboot-Time "02:00";
<% else -%>
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";
......
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