Clean some useless part.

This commit is contained in:
gardouille 2015-12-10 11:39:50 +01:00
parent 82391f5dd5
commit 79a56a7662
4 changed files with 1 additions and 9 deletions

View File

@ -15,7 +15,6 @@ class proxmox4::hypervisor::config {
logoutput => 'on_failure',
}
## Quoted boolean value because can't return "true" boolean with personal fact
if $::is_proxmox == 'true' {
@ -45,5 +44,4 @@ class proxmox4::hypervisor::config {
}
} # Private class: proxmox4::hypervisor::config

View File

@ -53,8 +53,6 @@ class proxmox4::hypervisor::preconfig {
}
}
$values = [ 'v1', 'v2' ]
file { $proxmox4::hypervisor::pve_modules_file_path:
ensure => present,
content => template($proxmox4::hypervisor::pve_modules_file_content),

View File

@ -4,7 +4,6 @@
#
class proxmox4::hypervisor::service {
if $proxmox4::hypervisor::pveproxy_service_enabled == true {
$pveproxy_service_ensure = 'running'
} else {
@ -24,6 +23,4 @@ class proxmox4::hypervisor::service {
}
} # Private class: proxmox4::hypervisor::service

View File

@ -16,7 +16,7 @@ class proxmox4::params {
# Old useless packages
$old_pkg_ensure = 'absent'
$old_pkg_name = [ 'acpid', 'linux-image-amd64', 'linux-base', 'linux-image-3.2.0-4-amd64' ]
$old_pkg_name = [ 'acpid', 'linux-image-amd64', 'linux-base', 'linux-image-3.16.0-4-amd64' ]
# Manage PVE Enterprise repository (need a subscription)
$pve_enterprise_repo_ensure = 'absent'
@ -59,5 +59,4 @@ class proxmox4::params {
}
} # Private class: proxmox4::params