Lines Matching refs:vagrant
6 """Manage vms through vagrant.
15 Eg: vagrant up => vagrant up --provider=google
32 """Raised when a vagrant command fails."""
53 """Provisiong vms with vagrant."""
63 """Execute a vagrant command in VAGRANT_DIR.
74 'vagrant %s' % cmd, stream_output=stream_output)
77 'Command "vagrant %s" failed with %s' % (cmd, e))
81 """Check Vagrant."""
83 # TODO: Automate the installation of vagrant.
89 'Looks like you don\'t have vagrant. Please run: \n'
90 '`apt-get install virtualbox vagrant`. This assumes you '
94 logging.warning('The format of the vagrant version string seems to '
99 logging.error('Please upgrade vagrant to a version > %s by '
107 """Initialize a vagrant provisioner.
109 @param puppet_path: Since vagrant uses puppet to provision machines,
117 """Register a box with vagrant.
119 Eg: vagrant box add core_cluster chromeos_lab_core_cluster.box
134 Eg: vagrant box remove core_cluster.
136 @param name: The name of the box as it appears in `vagrant box list`
146 """Create a vagrant file.
148 Read the template, apply kwargs and the puppet_path so vagrant can find
171 """Initialize vagrant.
179 @return: True if vagrant was initialized, False if the cwd already
180 contains a vagrant environment.
187 logging.info('Vagrant already initialized in %s', VAGRANT_DIR)
190 logging.info('Initializing vagrant in %s', VAGRANT_DIR)
196 """Provision vms according to the vagrant file.
202 logging.info('Destroying vagrant setup.')