Sha256: 009afce1894628839dc4aa2fc8bce0aee97ab1dd0b396e5ac11ceb96db56f721

Contents?: true

Size: 178 Bytes

Versions: 1

Compression:

Stored size: 178 Bytes

Contents

require 'puppet'
require 'json'
require 'facter'

ENV['FACTERLIB'].split(':').each{|x| Facter.search x }

Puppet.initialize_settings
jj JSON.parse Facter.collection.to_h.to_json

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simp-rspec-puppet-facts-1.3.0 facts/scripts/get_facts.rb