Tôi đang xây dựng một kiểu tùy chỉnh và tôi không thể để có được quyền truy cập vào các hiera phạm vi từ một defaultto khối module Puppet
require 'puppet/parser/functions/hiera'
newtype(:my_
Tôi có định nghĩa sau đây trong một tập tin yaml: keepalived:
cluster_name: "cluster.example.lan"
cluster_ip: "192.168.1.10"
cluster_nic: "eth0"
haproxy:
bind_address: %{hiera('ke