class RocketFuel::Install::ChefInstall
Constants
- RECEIPT_FILE
Public Instance Methods
installed?()
click to toggle source
# File lib/rocket_fuel/install/chef_install.rb, line 10 def installed? if RocketFuel::SystemDetails.platform_family?(:mac) FileTest.exists?(RECEIPT_FILE) else false end end
run()
click to toggle source
# File lib/rocket_fuel/install/chef_install.rb, line 5 def run `sudo echo` `curl -L https://www.opscode.com/chef/install.sh | sudo bash` end