VagrantUpSettingsExtensions Class

Summary

Fluent extension methods to the VagrantUpSettings class
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant.Settings
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["VagrantUpSettingsExtensions"] class Type type-node

Syntax

public static class VagrantUpSettingsExtensions

Methods

Name Value Summary
DestroyOnError(VagrantUpSettings, bool) VagrantUpSettings
Destroy the newly created machine if a fatal, unexpected error occurs. This will only happen on the first vagrant up.
static
EnableParallel(VagrantUpSettings) VagrantUpSettings
Bring multiple machines up in parallel if the provider supports it.
static
InstallProvider(VagrantUpSettings, bool) VagrantUpSettings
Instructs Vagrant to attempt to install the chosen provider if it is not installed.
static
RunProvisioners(VagrantUpSettings, bool) VagrantUpSettings
Force the provisioners to run when bringing up the machine
static
UseProvider(VagrantUpSettings, string) VagrantUpSettings
Bring the machine up with the given provider. By default this is "virtualbox".
static
WithProvisioners(VagrantUpSettings, IEnumerable<string>) VagrantUpSettings
This will only run the given provisioners when bringing up the machine
static
WithProvisioners(VagrantUpSettings, string[]) VagrantUpSettings
This will only run the given provisioners when bringing up the machine
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin