Skip to content

Instantly share code, notes, and snippets.

@nicks85
Created November 3, 2015 15:42
Show Gist options
  • Save nicks85/821fb9c652ae6fcb323d to your computer and use it in GitHub Desktop.
Save nicks85/821fb9c652ae6fcb323d to your computer and use it in GitHub Desktop.
Facter.add('project') do
setcode do
myhost = Facter.value(:site_shortname)
fname = File.open("/simulated/${myhost}srvsync-02v/andy.txt")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment