Sha256: 451e4c5f2c8b65c3f8f9b042223208494b868f247c74902754c4b15e9a75bb29
Contents?: true
Size: 321 Bytes
Versions: 4
Compression:
Stored size: 321 Bytes
Contents
module ForemanPuppet module HostInfoProviders class ConfigGroupsInfo < HostInfo::Provider def host_info config_groups = (host.puppet.config_groups + host.puppet.parent_config_groups).uniq.map(&:name) { 'parameters' => { 'foreman_config_groups' => config_groups } } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems