Class: Kitchen::Provisioner::Ansible::Os::Darwin

Inherits:
Kitchen::Provisioner::Ansible::Os show all
Defined in:
lib/kitchen/provisioner/ansible/os/darwin.rb

Instance Attribute Summary

Attributes inherited from Kitchen::Provisioner::Ansible::Os

#name

Instance Method Summary collapse

Methods inherited from Kitchen::Provisioner::Ansible::Os

#initialize, make, #sudo, #sudo_env

Constructor Details

This class inherits a constructor from Kitchen::Provisioner::Ansible::Os

Instance Method Details

#install_commandObject



26
27
28
29
30
31
# File 'lib/kitchen/provisioner/ansible/os/darwin.rb', line 26

def install_command
  <<-INSTALL
  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" </dev/null
  /usr/local/bin/brew install ansible
  INSTALL
end