Linux ams-business-8.hostwindsdns.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
LiteSpeed
Server IP : 192.236.177.161 & Your IP : 216.73.216.50
Domains :
Cant Read [ /etc/named.conf ]
User : ajzdfbpz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
puppetlabs /
puppet /
bin /
Delete
Unzip
Name
Size
Permission
Date
Action
augparse
11.1
KB
-rwxr-xr-x
2018-06-12 17:39
augtool
23.61
KB
-rwxr-xr-x
2018-06-12 17:39
c_rehash
5
KB
-rwxr-xr-x
2018-06-04 18:40
catstomp
506
B
-rwxr-xr-x
2018-06-04 18:45
curl
193.38
KB
-rwxr-xr-x
2018-06-12 17:39
curl-config
5.41
KB
-rwxr-xr-x
2018-06-04 18:41
dmidecode
71.77
KB
-rwxr-xr-x
2018-06-12 17:39
erb
4.31
KB
-rwxr-xr-x
2018-06-04 18:44
extlookup2hiera
1.17
KB
-rwxr-xr-x
2018-06-12 17:33
facter
204.69
KB
-rwxr-xr-x
2018-06-12 17:39
fadot
15.17
KB
-rwxr-xr-x
2018-06-12 17:39
gem
560
B
-rwxr-xr-x
2018-06-04 18:44
hiera
6.8
KB
-rwxr-xr-x
2018-06-12 17:33
hocon
503
B
-rwxr-xr-x
2018-06-04 18:45
irb
204
B
-rwxr-xr-x
2018-06-04 18:44
mco
1.52
KB
-rwxr-xr-x
2018-06-12 17:33
mcollectived
2.16
KB
-rwxr-xr-x
2018-06-12 17:33
openssl
545.3
KB
-rwxr-xr-x
2018-06-12 17:39
puppet
179
B
-rwxr-xr-x
2018-06-12 17:33
pxp-agent
1
MB
-rwxr-xr-x
2018-06-12 17:39
rake
1.23
KB
-rwxr-xr-x
2018-06-04 18:44
rdoc
952
B
-rwxr-xr-x
2018-06-04 18:44
ri
202
B
-rwxr-xr-x
2018-06-04 18:44
rmsgcat
511
B
-rwxr-xr-x
2018-06-04 18:45
rmsgfmt
511
B
-rwxr-xr-x
2018-06-04 18:45
rmsginit
512
B
-rwxr-xr-x
2018-06-04 18:45
rmsgmerge
513
B
-rwxr-xr-x
2018-06-04 18:45
ruby
7.01
KB
-rwxr-xr-x
2018-06-12 17:39
rxgettext
513
B
-rwxr-xr-x
2018-06-04 18:45
stompcat
506
B
-rwxr-xr-x
2018-06-04 18:45
testrb
92
B
-rwxr-xr-x
2018-06-04 18:44
virt-what
11.26
KB
-rwxr-xr-x
2018-06-12 17:29
xml2-config
1.63
KB
-rwxr-xr-x
2018-06-04 18:44
xmlcatalog
19.32
KB
-rwxr-xr-x
2018-06-12 17:39
xmllint
74.06
KB
-rwxr-xr-x
2018-06-12 17:39
xslt-config
2.39
KB
-rwxr-xr-x
2018-06-04 18:45
xsltproc
27.52
KB
-rwxr-xr-x
2018-06-12 17:39
Save
Rename
#!/opt/puppetlabs/puppet/bin/ruby require 'optparse' require 'csv' options = {:in => nil, :out => nil, :format => :yaml} OptionParser.new do |opts| opts.banner = "Converter for extlookup CSV files into Hiera JSON and YAML files" opts.on("--in FILE", "-i", "Input CSV file") do |v| options[:in] = v end opts.on("--out FILE", "-o", "Output Hiera file") do |v| options[:out] = v end opts.on("--json", "-j", "Create JSON format file") do |v| options[:format] = :json end end.parse! if options[:in].nil? || options[:out].nil? STDERR.puts "Please specify an input and output file with --in and --out" exit 1 end unless File.exist?(options[:in]) STDERR.puts "Cannot find input file #{options[:in]}" exit 1 end csvdata = CSV.read(options[:in]) hieradata = {} csvdata.each do |d| d = d.map{|item| item.to_s} if d.size > 2 hieradata[d[0]] = d[1, d.size].flatten else hieradata[d[0]] = d[1] end end case options[:format] when :yaml require 'yaml' File.open(options[:out], "w") {|f| f.write hieradata.to_yaml} when :json require 'rubygems' require 'json' File.open(options[:out], "w") {|f| f.write JSON.pretty_generate hieradata} end