public static class BootstrapConfig.Builder extends Object
Constructor and Description |
---|
BootstrapConfig.Builder() |
Modifier and Type | Method and 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.
|
public BootstrapConfig.Builder runList(Iterable<String> runList)
public BootstrapConfig.Builder environment(String environment)
public BootstrapConfig.Builder attributes(JsonBall attributes)
public BootstrapConfig.Builder sslCAFile(String sslCAFile)
public BootstrapConfig.Builder sslCAPath(String sslCAPath)
public BootstrapConfig.Builder sslVerifyMode(BootstrapConfig.SSLVerifyMode sslVerifyMode)
public BootstrapConfig.Builder verifyApiCert(boolean verifyApiCert)
public BootstrapConfig build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.