Skip to content

Instantly share code, notes, and snippets.

@binford2k
Created July 10, 2014 04:08
Show Gist options
  • Save binford2k/21326fede077092939bd to your computer and use it in GitHub Desktop.
Save binford2k/21326fede077092939bd to your computer and use it in GitHub Desktop.
#! /usr/bin/env ruby
require 'rubygems'
require 'awesome_print'
require 'yaml'
facts = YAML.load_file '/etc/puppetlabs/mcollective/facts.yaml'
str = facts.ai
puts str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment