Skip to content

Instantly share code, notes, and snippets.

@supercow
Created November 7, 2013 22:31
Show Gist options
  • Save supercow/7362996 to your computer and use it in GitHub Desktop.
Save supercow/7362996 to your computer and use it in GitHub Desktop.
if File.exists?('/tmp/test')
Facter.add('test_content') do
setcode do
File.read('/tmp/test')
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment