lib/knife-solo/bootstraps/darwin.rb in knife-solo-0.0.12 vs lib/knife-solo/bootstraps/darwin.rb in knife-solo-0.0.13
- old
+ new
@@ -6,11 +6,11 @@
end
def gem_packages
['chef']
end
-
+
def distro
case issue
when %r{10.5}
{:type => 'gem', :version => 'leopard'}
when %r{10.6}
@@ -21,14 +21,9 @@
end
def has_xcode_installed?
result = run_command("xcodebuild -version")
result.success?
- end
-
- def http_client_get_url(url)
- filename = url.split("/").last
- "curl '#{url}' >> #{filename}"
end
def run_pre_bootstrap_checks
raise 'xcode not installed, which is required to do anything. please install and run again.' unless has_xcode_installed?
end