Clean some useless part.
This commit is contained in:
parent
82391f5dd5
commit
79a56a7662
@ -15,7 +15,6 @@ class proxmox4::hypervisor::config {
|
|||||||
logoutput => 'on_failure',
|
logoutput => 'on_failure',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
## Quoted boolean value because can't return "true" boolean with personal fact
|
## Quoted boolean value because can't return "true" boolean with personal fact
|
||||||
if $::is_proxmox == 'true' {
|
if $::is_proxmox == 'true' {
|
||||||
|
|
||||||
@ -45,5 +44,4 @@ class proxmox4::hypervisor::config {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} # Private class: proxmox4::hypervisor::config
|
} # Private class: proxmox4::hypervisor::config
|
||||||
|
@ -53,8 +53,6 @@ class proxmox4::hypervisor::preconfig {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$values = [ 'v1', 'v2' ]
|
|
||||||
|
|
||||||
file { $proxmox4::hypervisor::pve_modules_file_path:
|
file { $proxmox4::hypervisor::pve_modules_file_path:
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template($proxmox4::hypervisor::pve_modules_file_content),
|
content => template($proxmox4::hypervisor::pve_modules_file_content),
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#
|
#
|
||||||
class proxmox4::hypervisor::service {
|
class proxmox4::hypervisor::service {
|
||||||
|
|
||||||
|
|
||||||
if $proxmox4::hypervisor::pveproxy_service_enabled == true {
|
if $proxmox4::hypervisor::pveproxy_service_enabled == true {
|
||||||
$pveproxy_service_ensure = 'running'
|
$pveproxy_service_ensure = 'running'
|
||||||
} else {
|
} else {
|
||||||
@ -24,6 +23,4 @@ class proxmox4::hypervisor::service {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
} # Private class: proxmox4::hypervisor::service
|
} # Private class: proxmox4::hypervisor::service
|
||||||
|
@ -16,7 +16,7 @@ class proxmox4::params {
|
|||||||
|
|
||||||
# Old useless packages
|
# Old useless packages
|
||||||
$old_pkg_ensure = 'absent'
|
$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)
|
# Manage PVE Enterprise repository (need a subscription)
|
||||||
$pve_enterprise_repo_ensure = 'absent'
|
$pve_enterprise_repo_ensure = 'absent'
|
||||||
@ -59,5 +59,4 @@ class proxmox4::params {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} # Private class: proxmox4::params
|
} # Private class: proxmox4::params
|
||||||
|
Loading…
Reference in New Issue
Block a user