Package org.jclouds.chef.domain
Class BootstrapConfig.Builder
- java.lang.Object
-
- org.jclouds.chef.domain.BootstrapConfig.Builder
-
- Enclosing class:
- BootstrapConfig
public static class BootstrapConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BootstrapConfig.Builder
attributes(JsonBall attributes)
Sets the attributes that will be populated to the deployed nodes.BootstrapConfig
build()
BootstrapConfig.Builder
environment(String environment)
Sets the environment where the nodes in the group will be deployed.BootstrapConfig.Builder
runList(Iterable<String> runList)
Sets the run list that will be executed in the nodes of the group.BootstrapConfig.Builder
sslCAFile(String sslCAFile)
The file in which the OpenSSL key is saved.BootstrapConfig.Builder
sslCAPath(String sslCAPath)
The path to where the OpenSSL keys that are used by the Chef client are located.BootstrapConfig.Builder
sslVerifyMode(BootstrapConfig.SSLVerifyMode sslVerifyMode)
The verify mode for HTTPS requests.BootstrapConfig.Builder
verifyApiCert(boolean verifyApiCert)
Use to only do SSL validation of the Chef server connection; may be needed if the Chef client needs to talk to other services that have broken SSL certificates.
-
-
-
Method Detail
-
runList
public BootstrapConfig.Builder runList(Iterable<String> runList)
Sets the run list that will be executed in the nodes of the group.
-
environment
public BootstrapConfig.Builder environment(String environment)
Sets the environment where the nodes in the group will be deployed.
-
attributes
public BootstrapConfig.Builder attributes(JsonBall attributes)
Sets the attributes that will be populated to the deployed nodes.
-
sslCAFile
public BootstrapConfig.Builder sslCAFile(String sslCAFile)
The file in which the OpenSSL key is saved. To be used by the Chef client to verify the certificate of the Chef Server.
-
sslCAPath
public BootstrapConfig.Builder sslCAPath(String sslCAPath)
The path to where the OpenSSL keys that are used by the Chef client are located.
-
sslVerifyMode
public BootstrapConfig.Builder sslVerifyMode(BootstrapConfig.SSLVerifyMode sslVerifyMode)
The verify mode for HTTPS requests.- NONE - to do no validation of SSL certificates.
- PEER - to do validation of all SSL certificate, including the Chef server connections
-
verifyApiCert
public BootstrapConfig.Builder verifyApiCert(boolean verifyApiCert)
Use to only do SSL validation of the Chef server connection; may be needed if the Chef client needs to talk to other services that have broken SSL certificates.
-
build
public BootstrapConfig build()
-
-