* Run the proxmox::hypervisor::group only if PVE is installed.

This commit is contained in:
gardouille 2015-01-27 15:28:08 +01:00
parent 563f6192a1
commit 4f156b4231
2 changed files with 7 additions and 5 deletions

View File

@ -9,6 +9,7 @@
* (#3) Add a new class and subclass: proxmox::vm::openvz to manage OpenVZ CT.
* (#3) Add a new fact to calculate venet's network with /24 instead of /32.)
* Add many modules (mainly for iptables) to load at startup (sea README.md).
* Run the proxmox::hypervisor::group only if PVE is installed.
---------------------------------------

View File

@ -61,13 +61,14 @@ define proxmox::hypervisor::group ( $group = $title, $acl_path = '/', $permissio
proxmox::hypervisor::user { $users:
group => $group,
}
}
# The permissions file
if ! defined(File["${permission_file}"]) {
file { "${permission_file}":
ensure => present,
# The permissions file
if ! defined(File["${permission_file}"]) {
file { "${permission_file}":
ensure => present,
}
}
}
} # Public ressource: proxmox::hypervisor::group