Skip to content

Instantly share code, notes, and snippets.

@zipkid
Last active December 23, 2015 06:09
Show Gist options
  • Save zipkid/6592172 to your computer and use it in GitHub Desktop.
Save zipkid/6592172 to your computer and use it in GitHub Desktop.
# from http://puppetlabs.com/blog/facter-part-1-facter-101
Facter.add("cache_folder_created") do
setcode do
File.exists?('/data/cache')
end
end - See more at: http://puppetlabs.com/blog/facter-part-1-facter-101#sthash.2wNn33Mx.dpuf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment