Documentation ¶
Overview ¶
Package vagrant implements a driver based on Vagrant.
Index ¶
Constants ¶
View Source
const ( // DefaultMachine is the name of the default Vagrant machine. DefaultMachine = "default" // ConfigPath is the path to the local directory where chef-runner // stores Vagrant-specific information. ConfigPath = ".chef-runner/vagrant" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver is a driver based on Vagrant.
func NewDriver ¶
NewDriver creates a new Vagrant driver that communicates with the given Vagrant machine. Under the hood `vagrant ssh-config` is executed to get a working SSH configuration for the machine.
func (Driver) RunCommand ¶
RunCommand runs the specified command on the Vagrant machine.
Click to show internal directories.
Click to hide internal directories.