feat: manage proxmox nodes
- change /etc/hosts to meet proxmox requirements - add proxmox node role - add init, params, repo, install, clusterjoin classes
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'facter'
|
||||
|
||||
Facter.add('pve_ceph_initialised') do
|
||||
confine enc_role: 'roles::infra::proxmox::node'
|
||||
setcode do
|
||||
File.exist?('/etc/pve/ceph.conf')
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user