diff --git a/files/50unattended-upgrades b/files/50unattended-upgrades index 0a09ce0..5faa45e 100644 --- a/files/50unattended-upgrades +++ b/files/50unattended-upgrades @@ -1,5 +1,5 @@ // Automatically upgrade packages from these (origin, archive) pairs -Unattended-Upgrade::Allowed-Origins { +Unattended-Upgrade::Allowed-Origins { // ${distro_id} and ${distro_codename} will be automatically expanded "${distro_id} stable"; "${distro_id} ${distro_codename}-security"; @@ -16,7 +16,7 @@ Unattended-Upgrade::Package-Blacklist { }; // Send email to this address for problems or packages upgrades -// If empty or unset then no email is sent, make sure that you +// If empty or unset then no email is sent, make sure that you // have a working mail setup on your system. The package 'mailx' // must be installed or anything that provides /usr/bin/mail. Unattended-Upgrade::Mail "root"; @@ -25,6 +25,6 @@ Unattended-Upgrade::Mail "root"; // (equivalent to apt-get autoremove) //Unattended-Upgrade::Remove-Unused-Dependencies "false"; -// Automatically reboot *WITHOUT CONFIRMATION* if a -// the file /var/run/reboot-required is found after the upgrade +// Automatically reboot *WITHOUT CONFIRMATION* if a +// the file /var/run/reboot-required is found after the upgrade //Unattended-Upgrade::Automatic-Reboot "false"; diff --git a/manifests/init.pp b/manifests/init.pp index 74b6e95..15b7931 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -24,5 +24,5 @@ class unattended_upgrades($ensure = present) { source => "puppet:///modules/unattended_upgrades/50unattended-upgrades", replace => 'true', } - + }