Skip to content
Snippets Groups Projects
Commit f541afcb authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Add comments to the ohai-helper script

parent 31506bbf
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env ruby
require 'ohai'
 
# This prints something like 'ubuntu-12.04'; used by our legacy AWS uploads
def platform_dir
puts "#{ohai['platform']}-#{ohai['platform_version']}"
end
 
# This prints something like 'ubuntu/precise'; used for packagecloud uploads
def repo_string
os = :unknown
version = :unknown
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment