* cluster.conf file no longer existes, use corosync.conf instead.

This commit is contained in:
gardouille 2016-01-11 12:15:34 +01:00
parent 5e6db2f2d8
commit f958189a09
2 changed files with 3 additions and 2 deletions

View File

@ -14,3 +14,4 @@
* Ensure to run a 'full-upgrade' once repository added.
* Add Postfix to the recommended packages.
* Remove OpenVZ CT management.
* cluster.conf file no longer existes, use corosync.conf instead.

View File

@ -32,7 +32,7 @@ class proxmox4::hypervisor::cluster
exec { "Create ${proxmox4::hypervisor::cluster_name} cluster on ${proxmox4::hypervisor::cluster_master_ip}":
command => "pvecm create ${proxmox4::hypervisor::cluster_name}",
onlyif => 'uname -r | grep -- "-pve"',
creates => '/etc/pve/cluster.conf',
creates => '/etc/pve/corosync.conf',
}
}
else {
@ -41,7 +41,7 @@ class proxmox4::hypervisor::cluster
exec { "Connect to ${proxmox4::hypervisor::cluster_name} cluster":
command => "pvecm add ${proxmox4::hypervisor::cluster_master_ip}",
onlyif => 'uname -r | grep -- "-pve"',
creates => '/etc/pve/cluster.conf',
creates => '/etc/pve/corosync.conf',
}
}
}