This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Vagrant.
Summary
Additional settings for the
vagrant up
command
- Assembly
- Cake
.Vagrant .dll - Namespace
- Cake
.Vagrant .Settings - Interfaces
-
- I
Vagrant Command Settings
- I
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IVagrantCommandSettings"]
Type["VagrantUpSettings"]
class Type type-node
Syntax
public class VagrantUpSettings : IVagrantCommandSettings
Constructors
Name | Summary |
---|---|
VagrantUpSettings |
Properties
Name | Value | Summary |
---|---|---|
DestroyOnError | Nullable |
Destroy the newly created machine if a fatal, unexpected error occurs.
This will only happen on the first vagrant up.
By default this is set.
|
InstallProvider | Nullable |
If the requested provider is not installed, Vagrant will attempt to automatically install it if it can. By default
this is enabled.
|
Parallel | Nullable |
Bring multiple machines up in parallel if the provider supports it. Please consult the provider documentation to
see if this feature is supported.
|
Provider | string |
Bring the machine up with the given provider. By default this is "virtualbox".
|
Provisioners | IEnumerable |
This will only run the given provisioners.
|
RunProvisioners | Nullable |
Force the provisioners to run.
|
Methods
Name | Value | Summary |
---|---|---|
GetToolArguments |
Action |
Gets the command arguments corresponding to the specified
IVagrantCommandSettings
|
Extension Methods
Name | Value | Summary |
---|---|---|
DestroyOnError |
VagrantUpSettings |
Destroy the newly created machine if a fatal, unexpected error occurs.
This will only happen on the first vagrant up.
Requires the Cake.Vagrant addin
|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
EnableParallel |
VagrantUpSettings |
Bring multiple machines up in parallel if the provider supports it.
Requires the Cake.Vagrant addin
|
InstallProvider |
VagrantUpSettings |
Instructs Vagrant to attempt to install the chosen provider if it is not installed.
Requires the Cake.Vagrant addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
RunProvisioners |
VagrantUpSettings |
Force the provisioners to run when bringing up the machine
Requires the Cake.Vagrant addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|
UseProvider |
VagrantUpSettings |
Bring the machine up with the given provider. By default this is "virtualbox".
Requires the Cake.Vagrant addin
|
WithProvisioners |
VagrantUpSettings |
This will only run the given provisioners when bringing up the machine
Requires the Cake.Vagrant addin
|
WithProvisioners |
VagrantUpSettings |
This will only run the given provisioners when bringing up the machine
Requires the Cake.Vagrant addin
|