* Run the proxmox::hypervisor::group only if PVE is installed.
This commit is contained in:
parent
563f6192a1
commit
4f156b4231
|
@ -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.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue