Module: VagrantPlugins::K3s::Cap::Linux::CurlInstalled
- Included in:
- Redhat::CurlInstall, Suse::CurlInstall
- Defined in:
- lib/vagrant-k3s/cap/linux/curl_installed.rb
Class Method Summary collapse
-
.curl_installed(machine) ⇒ true, false
Check if cURL is installed.
Class Method Details
.curl_installed(machine) ⇒ true, false
Check if cURL is installed.
10 11 12 |
# File 'lib/vagrant-k3s/cap/linux/curl_installed.rb', line 10 def self.curl_installed(machine) machine.communicate.test("/usr/bin/which curl", sudo: false) end |