| Server IP : 77.68.64.21 / Your IP : 216.73.217.105 Web Server : Apache System : Linux hp3-wp-1011378.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64 User : csh2668128 ( 2112425) PHP Version : 8.1.34 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/ruby/vendor_ruby/puppet/util/ |
Upload File : |
require 'set'
require 'puppet/network/format_support'
class Puppet::Util::TagSet < Set
include Puppet::Network::FormatSupport
def self.from_yaml(yaml)
self.new(YAML.load(yaml))
end
def to_yaml
@hash.keys.to_yaml
end
def self.from_data_hash(data)
self.new(data)
end
def self.from_pson(data)
Puppet.deprecation_warning("from_pson is being removed in favour of from_data_hash.")
self.from_data_hash(data)
end
def to_data_hash
to_a
end
def to_pson(*args)
to_data_hash.to_pson
end
# this makes puppet serialize it as an array for backwards
# compatibility
def to_zaml(z)
to_data_hash.to_zaml(z)
end
def join(*args)
to_a.join(*args)
end
end