Change the loglevel to warning for the reboot message.

This commit is contained in:
gardouille 2015-04-17 18:19:37 +02:00
parent 14d4291223
commit e0ef2304f0
1 changed files with 8 additions and 2 deletions

View File

@ -43,7 +43,10 @@ class proxmox::hypervisor::install {
# Installation of the PVE Kernel
if $proxmox::hypervisor::kvm_only == true {
notify { "Need to REBOOT the system on the new PVE kernel (${proxmox::hypervisor::kernel_kvm_pkg_name}) ...": }
notify { "Please REBOOT":
message => "Need to REBOOT the system on the new PVE kernel (${proxmox::hypervisor::kernel_kvm_pkg_name}) ...",
loglevel => warning,
}
->
package { $proxmox::hypervisor::kernel_kvm_pkg_name:
ensure => $proxmox::hypervisor::ve_pkg_ensure,
@ -51,7 +54,10 @@ class proxmox::hypervisor::install {
}
}
else {
notify { "Need to REBOOT the system on the new PVE kernel (${proxmox::hypervisor::kernel_pkg_name}) ...": }
notify { "Please REBOOT":
message => "Need to REBOOT the system on the new PVE kernel (${proxmox::hypervisor::kernel_pkg_name}) ...",
loglevel => warning,
}
->
package { $proxmox::hypervisor::kernel_pkg_name:
ensure => $proxmox::hypervisor::ve_pkg_ensure,