feat: add vmcluster module (#363)

- manage vmstorage package, service and environment file
- manage vmselect package, service and environment file
- manage vminsert package, service and environment file
- manage vmagent package, service and environment file
- manage options for vmstorage, vmselect, vminsert, vmagent role

Reviewed-on: #363
This commit was merged in pull request #363.
This commit is contained in:
2025-07-26 18:17:20 +10:00
parent 3cfafbac44
commit 0e64c9855a
18 changed files with 671 additions and 15 deletions
@@ -0,0 +1,14 @@
# frozen_string_literal: true
require 'puppet'
Facter.add('consul_node_token') do
setcode do
token_file = '/root/.config/consul_node_token'
begin
File.read(token_file).strip
rescue StandardError
nil
end
end
end